mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 21:34:48 -04:00
Move EventStream handling into default ReplicationDataHandler (#7493)
This is so that the logic can happen on both master and workers when we move event persistence out.
This commit is contained in:
parent
1de36407d1
commit
4734a7bbe4
5 changed files with 40 additions and 36 deletions
|
@ -581,7 +581,7 @@ class HomeServer(object):
|
|||
return ReplicationStreamer(self)
|
||||
|
||||
def build_replication_data_handler(self):
|
||||
return ReplicationDataHandler(self.get_datastore())
|
||||
return ReplicationDataHandler(self)
|
||||
|
||||
def remove_pusher(self, app_id, push_key, user_id):
|
||||
return self.get_pusherpool().remove_pusher(app_id, push_key, user_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue