Do not add main/master Synapse process to instance_map if workers are not in use

This is meant to keep the configuration tidy for non-worker setups.

Related to 49cb8b7b11
This commit is contained in:
Slavi Pantaleev 2023-05-15 07:37:25 +03:00
parent 49cb8b7b11
commit 8fbe99ac2a

View File

@ -721,7 +721,7 @@ matrix_synapse_instance_map: |
'host': 'matrix-synapse', 'host': 'matrix-synapse',
'port': matrix_synapse_replication_http_port, 'port': matrix_synapse_replication_http_port,
}, },
} } if matrix_synapse_workers_enabled else {}
}} }}
# Redis information # Redis information