mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-08 00:22:26 +00:00
353bc7c362
· needs documentation; no checks yet for port clashes or typos in worker name · according to https://github.com/matrix-org/synapse/wiki/Workers-setup-with-nginx#results about 90% of requests go to the synchrotron endpoint · thus, the synchrotron worker is especially suited to be load-balanced · most of the other workers are documented to support only a single instance · https://github.com/matrix-org/synapse/blob/master/docs/workers.md
8 lines
268 B
YAML
8 lines
268 B
YAML
---
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/workers/setup_install.yml"
|
|
when: "matrix_synapse_enabled|bool and matrix_synapse_workers_enabled|bool"
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/workers/setup_uninstall.yml"
|
|
when: "not matrix_synapse_workers_enabled|bool"
|