From 96051077490ddb9b27bf454c2084c1f1d5d5b0b4 Mon Sep 17 00:00:00 2001 From: Hans van Zijst Date: Tue, 17 Dec 2024 17:13:41 +0100 Subject: [PATCH] Instance map added. --- matrix/synapse/workers.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/matrix/synapse/workers.md b/matrix/synapse/workers.md index daafa92..d4f585f 100644 --- a/matrix/synapse/workers.md +++ b/matrix/synapse/workers.md @@ -215,6 +215,35 @@ probably be enough for most instances. We could define a worker with the name streamwriter and list it under all streams instead of a single worker for every stream. +Finally, we have to list all these workers under `instance_map`: their name +and their replication socket: + +``` +instance_map: + main: + path: "/run/matrix-synapse/replication_main.sock" + login: + path: "/run/matrix-synapse/replication_login.sock" + federation_sender: + path: "/run/matrix-synapse/replication_federation_sender.sock" + mediaworker: + path: "/run/matrix-synapse/replication_mediaworker.sock" +... + normal_sync1: + path: "unix:/run/matrix-synapse/inbound_normal_sync1.sock" + normal_sync2: + path: "unix:/run/matrix-synapse/inbound_normal_sync2.sock" + normal_sync3: + path: "unix:/run/matrix-synapse/inbound_normal_sync3.sock" +``` + + +## Defining a worker + + + + +# The rest ``` [Unit]