anonymousland-synapse/synapse/app
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
..
__init__.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
_base.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
admin_cmd.py Clean up ShardedWorkerHandlingConfig (#9466) 2021-02-24 13:23:18 +00:00
appservice.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
client_reader.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
event_creator.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
federation_reader.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
federation_sender.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
frontend_proxy.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
generic_worker.py Clean up ShardedWorkerHandlingConfig (#9466) 2021-02-24 13:23:18 +00:00
homeserver.py Fix SSO on workers (#9271) 2021-02-01 15:47:59 +00:00
media_repository.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
phone_stats_home.py Add phone home stats for encrypted messages. (#9283) 2021-02-01 17:06:22 +00:00
pusher.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
synchrotron.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
user_dir.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00