Do not let people enable more than 1 federation_sender worker

development
Slavi Pantaleev 4 years ago
parent 85a05f38e8
commit 61e427d690

@ -320,6 +320,9 @@ matrix_synapse_workers_pusher_workers_metrics_range_start: 19200
matrix_synapse_workers_appservice_workers_count: 1
matrix_synapse_workers_appservice_workers_metrics_range_start: 19300
# matrix_synapse_workers_federation_sender_workers_count can only be 0 or 1 for now.
# More instances are not supported due to a playbook limitation having to do with keeping `federation_sender_instances` in `homeserver.yaml` updated.
# See https://github.com/matrix-org/synapse/blob/master/docs/workers.md#synapseappfederation_sender
matrix_synapse_workers_federation_sender_workers_count: 1
matrix_synapse_workers_federation_sender_workers_metrics_range_start: 19400

@ -20,6 +20,7 @@
with_items:
- "matrix_synapse_workers_appservice_workers_count"
- "matrix_synapse_workers_pusher_workers_count"
- "matrix_synapse_workers_federation_sender_workers_count"
- name: (Deprecation) Catch and report renamed settings
fail:

Loading…
Cancel
Save