Only enable matrix-synapse-reverse-proxy-companion when Synapse workers are enabled

This allows us to eliminate the companion and decrease overhead for
simple servers which do not use workers.
This commit is contained in:
Slavi Pantaleev
2024-01-05 07:00:50 +02:00
parent 499e4887f7
commit d262ca0fe6
2 changed files with 8 additions and 19 deletions

View File

@ -3946,7 +3946,7 @@ matrix_synapse_auto_compressor_systemd_required_services_list: |
#
######################################################################
matrix_synapse_reverse_proxy_companion_enabled: "{{ matrix_synapse_enabled }}"
matrix_synapse_reverse_proxy_companion_enabled: "{{ matrix_synapse_enabled and matrix_synapse_workers_enabled }}"
matrix_synapse_reverse_proxy_companion_container_network: "{{ matrix_synapse_container_network }}"