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]