Skip to content
Snippets Groups Projects
Commit bfd68019 authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Merge pull request #2267 from matrix-org/erikj/missing_notifier

Fix removing of pushers when using workers
parents 1946867b 2cac7623
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,7 @@ class ReplicationStreamer(object):
self.store = hs.get_datastore()
self.presence_handler = hs.get_presence_handler()
self.clock = hs.get_clock()
self.notifier = hs.get_notifier()
# Current connections.
self.connections = []
......@@ -99,7 +100,7 @@ class ReplicationStreamer(object):
if not hs.config.send_federation:
self.federation_sender = hs.get_federation_sender()
hs.get_notifier().add_replication_callback(self.on_notifier_poke)
self.notifier.add_replication_callback(self.on_notifier_poke)
# Keeps track of whether we are currently checking for updates
self.is_looping = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment