mirror of
https://github.com/vale981/matrix-docker-ansible-deploy
synced 2025-03-09 20:46:42 -04:00

· 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
7 lines
268 B
YAML
7 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"
|