diff options
author | Erik Johnston <erik@matrix.org> | 2020-05-14 14:01:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 14:01:39 +0100 |
commit | 4734a7bbe4d08d68c5f04dd76cd5bcfb4cd9b6be (patch) | |
tree | e01a3c3e134699ac16e402301906b9f62cdd263a /synapse/server.py | |
parent | Add `instance_map` config and route replication calls (#7495) (diff) | |
download | synapse-4734a7bbe4d08d68c5f04dd76cd5bcfb4cd9b6be.tar.xz |
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.
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/server.py b/synapse/server.py index b4aea81e24..c530f1aa1a 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -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) |