Add support for multiple pusher workers

This commit is contained in:
Slavi Pantaleev
2022-09-15 08:32:55 +03:00
parent 22cf259155
commit b842447047
4 changed files with 25 additions and 10 deletions

View File

@ -355,9 +355,6 @@ worker_app: synapse.app.homeserver
{% if matrix_synapse_workers_enabled_list | selectattr('type', 'equalto', 'media_repository') | list | length > 0 %}
enable_media_repo: false
{% endif %}
{% if matrix_synapse_workers_enabled_list | selectattr('type', 'equalto', 'pusher') | list | length > 0 %}
start_pushers: false
{% endif %}
daemonize: false
{% endif %}
@ -2862,6 +2859,9 @@ send_federation: {{ matrix_synapse_send_federation | to_json }}
# - federation_sender1
federation_sender_instances: {{ matrix_synapse_federation_sender_instances | to_json }}
pusher_instances: {{ matrix_synapse_federation_pusher_instances | to_json }}
start_pushers: {{ matrix_synapse_start_pushers | to_json }}
# When using workers this should be a map from `worker_name` to the
# HTTP replication listener of the worker, if configured.
#