-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add sample worker files for pusher
and federation_sender
#14077
Conversation
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my environment, this configuration is running.
In #12737 was added a config with an undocumented replication
listener.
synapse/contrib/docker_compose_workers/workers/synapse-federation-sender-1.yaml
Lines 1 to 12 in 7b7478e
worker_app: synapse.app.federation_sender | |
worker_name: synapse-federation-sender-1 | |
# The replication listener on the main synapse process. | |
worker_replication_host: synapse | |
worker_replication_http_port: 9093 | |
worker_listeners: | |
- type: http | |
port: 8034 | |
resources: | |
- names: [replication] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the replication
listener in #12737 is unnecessary. The list of federation senders is stored in WorkerConfig.federation_shard_config
, and nothing seems to send out replication requests based off of it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! Thanks for updating the docs.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the replication
listener in #12737 is unnecessary. The list of federation senders is stored in WorkerConfig.federation_shard_config
, and nothing seems to send out replication requests based off of it.
Related to:
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.(run the linters)
Signed-off-by: Dirk Klimpel dirk@klimpel.org