forked-synapse/synapse/replication/tcp
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
..
streams Improve type checking in replication.tcp.Stream (#7291) 2020-04-17 14:49:55 +01:00
__init__.py Move client command handling out of TCP protocol (#7185) 2020-04-06 09:58:42 +01:00
client.py Add ability to run replication protocol over redis. (#7040) 2020-04-22 13:07:41 +01:00
commands.py Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
handler.py Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
protocol.py Fix replication metrics when using redis (#7325) 2020-04-22 16:26:19 +01:00
redis.py Fix replication metrics when using redis (#7325) 2020-04-22 16:26:19 +01:00
resource.py Move server command handling out of TCP protocol (#7187) 2020-04-07 10:51:07 +01:00