mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix federation_reader listeners doc as per PR review
Signed-off-by: Jason Robinson <jasonr@matrix.org>
This commit is contained in:
parent
aa6ad288f1
commit
1fe5001369
@ -185,8 +185,18 @@ reverse-proxy configuration.
|
|||||||
The `^/_matrix/federation/v1/send/` endpoint must only be handled by a single
|
The `^/_matrix/federation/v1/send/` endpoint must only be handled by a single
|
||||||
instance.
|
instance.
|
||||||
|
|
||||||
Note that the `worker_listeners.resources.name` needs to be set to `federation`
|
Note that `federation` must be added to the listener resources in the worker config:
|
||||||
for this worker.
|
|
||||||
|
```yaml
|
||||||
|
worker_app: synapse.app.federation_reader
|
||||||
|
...
|
||||||
|
worker_listeners:
|
||||||
|
- type: http
|
||||||
|
port: <port>
|
||||||
|
resources:
|
||||||
|
- names:
|
||||||
|
- federation
|
||||||
|
```
|
||||||
|
|
||||||
### `synapse.app.federation_sender`
|
### `synapse.app.federation_sender`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user