MatrixSynapse/synapse/app
Richard van der Hoff 71a1abb8a1
Stop the master relaying USER_SYNC for other workers (#7318)
Long story short: if we're handling presence on the current worker, we shouldn't be sending USER_SYNC commands over replication.

In an attempt to figure out what is going on here, I ended up refactoring some bits of the presencehandler code, so the first 4 commits here are non-functional refactors to move this code slightly closer to sanity. (There's still plenty to do here :/). Suggest reviewing individual commits.

Fixes (I hope) #7257.
2020-04-22 22:39:04 +01:00
..
__init__.py
_base.py Move pusherpool startup into _base.setup (#7104) 2020-03-19 09:48:45 +00:00
admin_cmd.py Move client command handling out of TCP protocol (#7185) 2020-04-06 09:58:42 +01:00
appservice.py
client_reader.py
event_creator.py
federation_reader.py
federation_sender.py
frontend_proxy.py
generic_worker.py Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
homeserver.py Add ability to run replication protocol over redis. (#7040) 2020-04-22 13:07:41 +01:00
media_repository.py
pusher.py
synchrotron.py
user_dir.py