summary refs log tree commit diff
path: root/v1.73/systemd-with-workers/workers
diff options
context:
space:
mode:
authorDMRobertson <DMRobertson@users.noreply.github.com>2022-11-29 12:32:57 +0000
committerDMRobertson <DMRobertson@users.noreply.github.com>2022-11-29 12:32:57 +0000
commiteaed07aa18ac9a135ffc31b9ca61a71dd54f3e02 (patch)
tree66d89d3ffc54dd4a3b86ba084920920f2d050bbf /v1.73/systemd-with-workers/workers
parentdeploy: 8f10c8b054fc970838be9ae6f1f5aea95f166c98 (diff)
downloadsynapse-eaed07aa18ac9a135ffc31b9ca61a71dd54f3e02.tar.xz
deploy: 8c5b8e6d40b28bd134326a8063992cdfeef7b60d
Diffstat (limited to 'v1.73/systemd-with-workers/workers')
-rw-r--r--v1.73/systemd-with-workers/workers/background_worker.yaml8
-rw-r--r--v1.73/systemd-with-workers/workers/event_persister.yaml23
-rw-r--r--v1.73/systemd-with-workers/workers/federation_sender.yaml8
-rw-r--r--v1.73/systemd-with-workers/workers/generic_worker.yaml16
-rw-r--r--v1.73/systemd-with-workers/workers/media_worker.yaml14
-rw-r--r--v1.73/systemd-with-workers/workers/pusher_worker.yaml8
6 files changed, 77 insertions, 0 deletions
diff --git a/v1.73/systemd-with-workers/workers/background_worker.yaml b/v1.73/systemd-with-workers/workers/background_worker.yaml
new file mode 100644

index 0000000000..9fbfbda7db --- /dev/null +++ b/v1.73/systemd-with-workers/workers/background_worker.yaml
@@ -0,0 +1,8 @@ +worker_app: synapse.app.generic_worker +worker_name: background_worker + +# The replication listener on the main synapse process. +worker_replication_host: 127.0.0.1 +worker_replication_http_port: 9093 + +worker_log_config: /etc/matrix-synapse/background-worker-log.yaml diff --git a/v1.73/systemd-with-workers/workers/event_persister.yaml b/v1.73/systemd-with-workers/workers/event_persister.yaml new file mode 100644
index 0000000000..9bc6997bad --- /dev/null +++ b/v1.73/systemd-with-workers/workers/event_persister.yaml
@@ -0,0 +1,23 @@ +worker_app: synapse.app.generic_worker +worker_name: event_persister1 + +# 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: 8034 + resources: + - names: [replication] + + # Enable listener if this stream writer handles endpoints for the `typing` or + # `to_device` streams. Uses a different port to the `replication` listener to + # avoid exposing the `replication` listener publicly. + # + #- type: http + # port: 8035 + # resources: + # - names: [client] + +worker_log_config: /etc/matrix-synapse/event-persister-log.yaml diff --git a/v1.73/systemd-with-workers/workers/federation_sender.yaml b/v1.73/systemd-with-workers/workers/federation_sender.yaml new file mode 100644
index 0000000000..5c591aec2c --- /dev/null +++ b/v1.73/systemd-with-workers/workers/federation_sender.yaml
@@ -0,0 +1,8 @@ +worker_app: synapse.app.federation_sender +worker_name: federation_sender1 + +# The replication listener on the main synapse process. +worker_replication_host: 127.0.0.1 +worker_replication_http_port: 9093 + +worker_log_config: /etc/matrix-synapse/federation-sender-log.yaml diff --git a/v1.73/systemd-with-workers/workers/generic_worker.yaml b/v1.73/systemd-with-workers/workers/generic_worker.yaml new file mode 100644
index 0000000000..6e7b60886e --- /dev/null +++ b/v1.73/systemd-with-workers/workers/generic_worker.yaml
@@ -0,0 +1,16 @@ +worker_app: synapse.app.generic_worker +worker_name: generic_worker1 + +# The replication listener on the main synapse process. +worker_replication_host: 127.0.0.1 +worker_replication_http_port: 9093 + +worker_main_http_uri: http://localhost:8008/ + +worker_listeners: + - type: http + port: 8083 + resources: + - names: [client, federation] + +worker_log_config: /etc/matrix-synapse/generic-worker-log.yaml diff --git a/v1.73/systemd-with-workers/workers/media_worker.yaml b/v1.73/systemd-with-workers/workers/media_worker.yaml new file mode 100644
index 0000000000..eb34d12492 --- /dev/null +++ b/v1.73/systemd-with-workers/workers/media_worker.yaml
@@ -0,0 +1,14 @@ +worker_app: synapse.app.media_repository +worker_name: media_worker + +# 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: 8085 + resources: + - names: [media] + +worker_log_config: /etc/matrix-synapse/media-worker-log.yaml diff --git a/v1.73/systemd-with-workers/workers/pusher_worker.yaml b/v1.73/systemd-with-workers/workers/pusher_worker.yaml new file mode 100644
index 0000000000..46e22c6f06 --- /dev/null +++ b/v1.73/systemd-with-workers/workers/pusher_worker.yaml
@@ -0,0 +1,8 @@ +worker_app: synapse.app.pusher +worker_name: pusher_worker1 + +# The replication listener on the main synapse process. +worker_replication_host: 127.0.0.1 +worker_replication_http_port: 9093 + +worker_log_config: /etc/matrix-synapse/pusher-worker-log.yaml