Instance map added.

This commit is contained in:
Hans van Zijst 2024-12-17 17:13:41 +01:00 committed by Hans van Zijst
parent 779a93807a
commit 9605107749

View file

@ -215,6 +215,35 @@ probably be enough for most instances.
We could define a worker with the name streamwriter and list it under all We could define a worker with the name streamwriter and list it under all
streams instead of a single worker for every stream. 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] [Unit]