summary refs log tree commit diff
path: root/develop/systemd-with-workers/workers/event_persister.yaml
diff options
context:
space:
mode:
authorsquahtx <squahtx@users.noreply.github.com>2022-04-25 12:17:35 +0000
committersquahtx <squahtx@users.noreply.github.com>2022-04-25 12:17:35 +0000
commit4219814c0f7531a157d780b4fbdfd63a3a93e198 (patch)
tree58cad0774cbb4c2926a7a1f38822f1499f84fee8 /develop/systemd-with-workers/workers/event_persister.yaml
parentdeploy: f46b223354895efee181507a96a3a9a72c933a4b (diff)
downloadsynapse-4219814c0f7531a157d780b4fbdfd63a3a93e198.tar.xz
deploy: a36a38b1ca987c39eb70d9bf5ea4bd6999876a78
Diffstat (limited to 'develop/systemd-with-workers/workers/event_persister.yaml')
-rw-r--r--develop/systemd-with-workers/workers/event_persister.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/develop/systemd-with-workers/workers/event_persister.yaml b/develop/systemd-with-workers/workers/event_persister.yaml
new file mode 100644

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