MatrixSynapse/synapse/config
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
..
__init__.py
__main__.py
_base.py Prefer `type(x) is int` to `isinstance(x, int)` (#14945) 2023-01-31 10:33:07 +00:00
_base.pyi Re-enable some linting (#14821) 2023-01-12 10:52:07 +00:00
_util.py Switch `InstanceLocationConfig` to a pydantic `BaseModel` (#15431) 2023-04-17 23:53:43 +00:00
account_validity.py
api.py Allow selecting "prejoin" events by state keys (#14642) 2022-12-13 00:54:46 +00:00
appservice.py Throw if the appservice config list is the wrong type (#15425) 2023-04-12 11:28:46 +00:00
auth.py
background_updates.py
cache.py Prefer `type(x) is int` to `isinstance(x, int)` (#14945) 2023-01-31 10:33:07 +00:00
captcha.py
cas.py
consent.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
database.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
emailconfig.py
experimental.py Stabilize MSC2659 support for AS ping endpoint. (#15528) 2023-05-09 15:02:36 -04:00
federation.py
homeserver.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
jwt.py
key.py Fix a bug where Synapse fails to start if a signing key file contains an empty line. (#13738) 2022-09-08 11:18:03 +01:00
logger.py Reload the pyo3-log config when the Python logging config changes. (#14976) 2023-02-03 08:27:31 -05:00
metrics.py Remove legacy Prometheus metrics names. They were deprecated in Synapse v1.69.0 and disabled by default in Synapse v1.71.0. (#14538) 2022-11-24 09:09:17 +00:00
modules.py
oembed.py
oidc.py Add the ability to enable/disable registrations when in the OIDC flow (#14978) 2023-03-30 11:09:41 +00:00
password_auth_providers.py
push.py Allow adding random delay to push (#15516) 2023-05-02 16:45:44 +00:00
ratelimiting.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
redis.py Support for selecting the Redis logical database. (#15034) 2023-02-15 07:39:31 -05:00
registration.py
repository.py Add config option to prevent media downloads from listed domains. (#15197) 2023-05-09 14:08:51 -04:00
retention.py
room.py Add config option to forget rooms automatically when users leave them (#15224) 2023-05-03 12:27:33 +01:00
room_directory.py Return read-only collections from `@cached` methods (#13755) 2023-02-10 23:29:00 +00:00
saml2.py
server.py Experimental Unix socket support (#15353) 2023-04-03 10:27:51 +01:00
server_notices.py
spam_checker.py
sso.py
stats.py
third_party_event_rules.py
tls.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
tracer.py
user_directory.py
voip.py
workers.py Remove `worker_replication_*` settings (#15491) 2023-05-11 11:30:56 +01:00