mirror of
https://github.com/element-hq/synapse
synced 2024-08-21 12:30:21 +00:00
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.
1 line
53 B
Text
1 line
53 B
Text
Move catchup of replication streams logic to worker.
|