mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 10:05:55 +03:00
71a1abb8a1
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.
|