summary refs log tree commit diff
path: root/v1.67/systemd-with-workers/workers/event_persister.yaml
diff options
context:
space:
mode:
authorerikjohnston <erikjohnston@users.noreply.github.com>2022-09-06 08:02:18 +0000
committererikjohnston <erikjohnston@users.noreply.github.com>2022-09-06 08:02:18 +0000
commitd034da1b8f43f469c43623769012b737694888b0 (patch)
treea9ca3f4393face4f4ac80337ef8de65cb7aae5e9 /v1.67/systemd-with-workers/workers/event_persister.yaml
parentdeploy: 32fc3b7ba4702a0068a82bdd0595e2f426967d4d (diff)
downloadsynapse-d034da1b8f43f469c43623769012b737694888b0.tar.xz
deploy: cdf7fb737b12cc06cc5693806ee8fa21ade9723d
Diffstat (limited to 'v1.67/systemd-with-workers/workers/event_persister.yaml')
-rw-r--r--v1.67/systemd-with-workers/workers/event_persister.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/v1.67/systemd-with-workers/workers/event_persister.yaml b/v1.67/systemd-with-workers/workers/event_persister.yaml
new file mode 100644

index 0000000000..9bc6997bad --- /dev/null +++ b/v1.67/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