This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree 4 files changed +29
-0
lines changed
systemd-with-workers/workers
4 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ Add sample worker files for `pusher` and `federation_sender`.
Original file line number Diff line number Diff line change
1
+ worker_app : synapse.app.federation_sender
2
+ worker_name : federation_sender1
3
+
4
+ # The replication listener on the main synapse process.
5
+ worker_replication_host : 127.0.0.1
6
+ worker_replication_http_port : 9093
7
+
8
+ worker_log_config : /etc/matrix-synapse/federation-sender-log.yaml
Original file line number Diff line number Diff line change
1
+ worker_app : synapse.app.pusher
2
+ worker_name : pusher_worker1
3
+
4
+ # The replication listener on the main synapse process.
5
+ worker_replication_host : 127.0.0.1
6
+ worker_replication_http_port : 9093
7
+
8
+ worker_log_config : /etc/matrix-synapse/pusher-worker-log.yaml
Original file line number Diff line number Diff line change @@ -488,6 +488,12 @@ pusher_instances:
488
488
- pusher_worker2
489
489
` ` `
490
490
491
+ An example for a pusher instance :
492
+
493
+ ` ` ` yaml
494
+ {{#include systemd-with-workers/workers/pusher_worker.yaml}}
495
+ ` ` `
496
+
491
497
492
498
# ## `synapse.app.appservice`
493
499
@@ -518,6 +524,12 @@ federation_sender_instances:
518
524
- federation_sender2
519
525
` ` `
520
526
527
+ An example for a federation sender instance :
528
+
529
+ ` ` ` yaml
530
+ {{#include systemd-with-workers/workers/federation_sender.yaml}}
531
+ ` ` `
532
+
521
533
# ## `synapse.app.media_repository`
522
534
523
535
Handles the media repository. It can handle all endpoints starting with :
You can’t perform that action at this time.
0 commit comments