synapse/changelog.d
Erik Johnston 2927921942
Clean up ShardedWorkerHandlingConfig (#9466)
* Split ShardedWorkerHandlingConfig

This is so that we have a type level understanding of when it is safe to
call `get_instance(..)` (as opposed to `should_handle(..)`).

* Remove special cases in ShardedWorkerHandlingConfig.

`ShardedWorkerHandlingConfig` tried to handle the various different ways
it was possible to configure federation senders and pushers. This led to
special cases that weren't hit during testing.

To fix this the handling of the different cases is moved from there and
`generic_worker` into the worker config class. This allows us to have
the logic in one place and allows the rest of the code to ignore the
different cases.
2021-02-24 13:23:18 +00:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
8957.feature Ratelimit cross-user key sharing requests. (#8957) 2021-02-19 13:20:34 -05:00
8978.feature Add an order_by field to list users' media admin API. (#8978) 2021-02-22 14:38:51 -05:00
9203.feature Add configs to make profile data more private (#9203) 2021-02-19 09:50:41 +00:00
9383.feature Add a config option to prioritise local users in user directory search results (#9383) 2021-02-19 11:02:03 +00:00
9385.feature Clean up the user directory sample config section (#9385) 2021-02-22 11:44:31 +00:00
9402.bugfix Be smarter about which hosts to send presence to when processing room joins (#9402) 2021-02-19 11:37:29 +00:00
9416.bugfix Remove cache for get_shared_rooms_for_users (#9416) 2021-02-22 16:52:45 +00:00
9432.misc Add documentation and type hints to parse_duration. (#9432) 2021-02-19 08:32:21 -05:00
9438.feature Newsfile 2021-02-18 17:05:32 +00:00
9440.bugfix Support not providing an IdP icon when choosing a username. (#9440) 2021-02-19 07:48:46 -05:00
9449.bugfix Include newly added sequences in the port DB script. (#9449) 2021-02-23 07:33:24 -05:00
9462.misc Remove vestiges of uploads_path config (#9462) 2021-02-22 19:54:49 +00:00
9463.doc example systemd config: propagate reloads to units (#9463) 2021-02-22 18:43:17 +00:00
9464.misc Add a comment about systemd-python. (#9464) 2021-02-23 13:42:36 +00:00
9465.bugfix Fix deleting pushers when using sharded pushers. (#9465) 2021-02-22 21:14:42 +00:00
9466.bugfix Clean up ShardedWorkerHandlingConfig (#9466) 2021-02-24 13:23:18 +00:00
9470.bugfix Refactor to ensure we call check_consistency (#9470) 2021-02-24 10:13:53 +00:00