summary refs log tree commit diff
path: root/docs/systemd-with-workers
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2022-09-30 14:41:32 +0200
committerGitHub <noreply@github.com>2022-09-30 13:41:32 +0100
commit4490697b98716452cf9bac935918418974c5ea3e (patch)
tree6485702574c91a5b82006ee30112864d9891f41e /docs/systemd-with-workers
parentFix performance regression in `get_users_in_room` (#13972) (diff)
downloadsynapse-4490697b98716452cf9bac935918418974c5ea3e.tar.xz
Add some cross references to worker documentation (#13974)
Signed-off-by: Dirk Klimpel <dirk@klimpel.org>
Diffstat (limited to 'docs/systemd-with-workers')
-rw-r--r--docs/systemd-with-workers/workers/media_worker.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/systemd-with-workers/workers/media_worker.yaml b/docs/systemd-with-workers/workers/media_worker.yaml
new file mode 100644
index 0000000000..eb34d12492
--- /dev/null
+++ b/docs/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