Skip to content
Snippets Groups Projects
Unverified Commit 0adeccaf authored by Dirk Klimpel's avatar Dirk Klimpel Committed by GitHub
Browse files

Add sample worker files for `pusher` and `federation_sender` (#14077)


Signed-off-by: default avatarDirk Klimpel <dirk@klimpel.org>
parent 2295095c
No related branches found
No related tags found
No related merge requests found
Add sample worker files for `pusher` and `federation_sender`.
worker_app: synapse.app.federation_sender
worker_name: federation_sender1
# The replication listener on the main synapse process.
worker_replication_host: 127.0.0.1
worker_replication_http_port: 9093
worker_log_config: /etc/matrix-synapse/federation-sender-log.yaml
worker_app: synapse.app.pusher
worker_name: pusher_worker1
# The replication listener on the main synapse process.
worker_replication_host: 127.0.0.1
worker_replication_http_port: 9093
worker_log_config: /etc/matrix-synapse/pusher-worker-log.yaml
...@@ -488,6 +488,12 @@ pusher_instances: ...@@ -488,6 +488,12 @@ pusher_instances:
- pusher_worker2 - pusher_worker2
``` ```
An example for a pusher instance:
```yaml
{{#include systemd-with-workers/workers/pusher_worker.yaml}}
```
### `synapse.app.appservice` ### `synapse.app.appservice`
...@@ -518,6 +524,12 @@ federation_sender_instances: ...@@ -518,6 +524,12 @@ federation_sender_instances:
- federation_sender2 - federation_sender2
``` ```
An example for a federation sender instance:
```yaml
{{#include systemd-with-workers/workers/federation_sender.yaml}}
```
### `synapse.app.media_repository` ### `synapse.app.media_repository`
Handles the media repository. It can handle all endpoints starting with: Handles the media repository. It can handle all endpoints starting with:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment