chore(synapse): update shared worker config

This commit is contained in:
Lars Kaiser 2023-05-25 14:55:03 +02:00
parent a4ee19474e
commit 7572d9af5a
No known key found for this signature in database
GPG key ID: BB97304A16BC5DCF
2 changed files with 4 additions and 2 deletions

View file

@ -205,8 +205,6 @@
content: |
worker_app: {{ item.app }}
worker_name: {{ item.name }}
worker_replication_host: {{ matrix_synapse_worker_replication_host }}
worker_replication_http_port: {{ matrix_synapse_worker_replication_port }}
{% if item.listeners|length > 0 or matrix_synapse_worker_metrics_enabled %}
worker_listeners:
{{ (item.listeners + (matrix_synapse_worker_metrics_listener if matrix_synapse_worker_metrics_enabled else [])) | to_nice_yaml }}

View file

@ -26,6 +26,10 @@ matrix_synapse_worker_config:
type: http
resources:
- names: [ replication ]
instance_map:
main:
host: "{{ matrix_synapse_worker_replication_host }}"
port: "{{ matrix_synapse_worker_replication_port }}"
# homeserver.yml
matrix_synapse_base_config: