diff options
author | Jason Little <realtyem@gmail.com> | 2023-05-11 05:30:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 11:30:56 +0100 |
commit | e4f545c452df817daa2f22dfda906f3451d98351 (patch) | |
tree | 27f9a111d7dfba9c4f16d506325c855e66ce695e /docs/systemd-with-workers/workers | |
parent | Add an unstable feature flag for MSC3391 to the /versions endpoint (#15562) (diff) | |
download | synapse-e4f545c452df817daa2f22dfda906f3451d98351.tar.xz |
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>
Diffstat (limited to 'docs/systemd-with-workers/workers')
-rw-r--r-- | docs/systemd-with-workers/workers/generic_worker.yaml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/systemd-with-workers/workers/generic_worker.yaml b/docs/systemd-with-workers/workers/generic_worker.yaml index a858f99ed1..db6436ee6e 100644 --- a/docs/systemd-with-workers/workers/generic_worker.yaml +++ b/docs/systemd-with-workers/workers/generic_worker.yaml @@ -1,10 +1,6 @@ worker_app: synapse.app.generic_worker worker_name: generic_worker1 -# The replication listener on the main synapse process. -worker_replication_host: 127.0.0.1 -worker_replication_http_port: 9093 - worker_listeners: - type: http port: 8083 |