mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-11-10 13:44:16 +00:00
chore(synapse): update shared worker config
This commit is contained in:
parent
a4ee19474e
commit
7572d9af5a
2 changed files with 4 additions and 2 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue