Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix federation_reader listeners doc as per PR review
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Robinson <jasonr@matrix.org>
  • Loading branch information
jaywink committed Jan 27, 2020
1 parent aa6ad28 commit 1fe5001
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions docs/workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,18 @@ reverse-proxy configuration.
The `^/_matrix/federation/v1/send/` endpoint must only be handled by a single
instance.

Note that the `worker_listeners.resources.name` needs to be set to `federation`
for this worker.
Note that `federation` must be added to the listener resources in the worker config:

```yaml
worker_app: synapse.app.federation_reader
...
worker_listeners:
- type: http
port: <port>
resources:
- names:
- federation
```
### `synapse.app.federation_sender`

Expand Down

0 comments on commit 1fe5001

Please sign in to comment.