From e3f009ec0a891d5ae9fec1beebda690318b6cad9 Mon Sep 17 00:00:00 2001 From: qashlan Date: Mon, 3 Feb 2025 03:10:03 +0200 Subject: [PATCH 1/2] remove depricated worker configration in worker-bash-script Signed-off-by: Ahmed Qashlan --- .../workers-bash-scripts/create-multiple-generic-workers.md | 4 ---- .../workers-bash-scripts/create-multiple-stream-writers.md | 4 ---- 2 files changed, 8 deletions(-) diff --git a/contrib/workers-bash-scripts/create-multiple-generic-workers.md b/contrib/workers-bash-scripts/create-multiple-generic-workers.md index 63d0038a7d..70c70ad1a1 100644 --- a/contrib/workers-bash-scripts/create-multiple-generic-workers.md +++ b/contrib/workers-bash-scripts/create-multiple-generic-workers.md @@ -11,10 +11,6 @@ cat << EOF > generic_worker$i.yaml worker_app: synapse.app.generic_worker worker_name: generic_worker$i -# The replication listener on the main synapse process. -worker_replication_host: 127.0.0.1 -worker_replication_http_port: 9093 - worker_listeners: - type: http port: 808$i diff --git a/contrib/workers-bash-scripts/create-multiple-stream-writers.md b/contrib/workers-bash-scripts/create-multiple-stream-writers.md index 2004e03dbd..667f0267ff 100644 --- a/contrib/workers-bash-scripts/create-multiple-stream-writers.md +++ b/contrib/workers-bash-scripts/create-multiple-stream-writers.md @@ -36,10 +36,6 @@ cat << EOF > ${STREAM_WRITERS[$i]}_stream_writer.yaml worker_app: synapse.app.generic_worker worker_name: ${STREAM_WRITERS[$i]}_stream_writer -# The replication listener on the main synapse process. -worker_replication_host: 127.0.0.1 -worker_replication_http_port: 9093 - worker_listeners: - type: http port: $(expr $REP_START_PORT + $i) From 1e1ddc4b6cb381fd9cb76189516b62afa8401d53 Mon Sep 17 00:00:00 2001 From: qashlan Date: Mon, 3 Feb 2025 03:14:32 +0200 Subject: [PATCH 2/2] add change log Signed-off-by: Ahmed Qashlan --- changelog.d/18126.removal | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/18126.removal diff --git a/changelog.d/18126.removal b/changelog.d/18126.removal new file mode 100644 index 0000000000..b200861c75 --- /dev/null +++ b/changelog.d/18126.removal @@ -0,0 +1 @@ +Remove deprecated worker generation script which causes app to crash on startup \ No newline at end of file