0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-12 21:53:30 +01:00
synapse/docker/conf-workers
Jason Little e4f545c452
Remove worker_replication_* settings (#15491)
* Add master to the instance_map as part of Complement, have ReplicationEndpoint look at instance_map for master.

* Fix typo in drive by.

* Remove unnecessary worker_replication_* bits from unit tests and add master to instance_map(hopefully in the right place)

* Several updates:

1. Switch from master to main for naming the main process in the instance_map. Add useful constants for easier adjustment of names in the future.
2. Add backwards compatibility for worker_replication_* to allow time to transition to new style. Make sure to prioritize declaring main directly on the instance_map.
3. Clean up old comments/commented out code.
4. Adjust unit tests to match with new code.
5. Adjust Complement setup infrastructure to only add main to the instance_map if workers are used and remove now unused options from the worker.yaml template.

* Initial Docs upload

* Changelog

* Missed some commented out code that can go now

* Remove TODO comment that no longer holds true.

* Fix links in docs

* More docs

* Remove debug logging

* Apply suggestions from code review

Co-authored-by: reivilibre <olivier@librepush.net>

* Apply suggestions from code review

Co-authored-by: reivilibre <olivier@librepush.net>

* Update version to latest, include completeish before/after examples in upgrade notes.

* Fix up and docs too

---------

Co-authored-by: reivilibre <olivier@librepush.net>
2023-05-11 11:30:56 +01:00
..
healthcheck.sh.j2 Create healthcheck script for synapse-workers container (#11429) 2021-11-26 14:05:20 +00:00
nginx.conf.j2 Remove Caddy from the Synapse workers image used in Complement. (#12818) 2022-05-23 10:29:24 +01:00
shared.yaml.j2 Merge the Complement testing Docker images into a single, multi-purpose image. (#12881) 2022-06-08 09:57:05 +00:00
supervisord.conf.j2 synapse-workers docker: copy nginx and redis in from base images (#13447) 2022-08-04 12:59:27 +01:00
synapse.supervisord.conf.j2 Improve startup times in Complement test runs against workers, particularly in CPU-constrained environments. (#13127) 2022-06-30 11:58:12 +00:00
worker.yaml.j2 Remove worker_replication_* settings (#15491) 2023-05-11 11:30:56 +01:00