forked-synapse/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 Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
_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 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 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 Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +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