diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-08-17 16:22:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-17 16:22:07 +0100 |
commit | 3cef867cc1b6a1a5db031ad89064cea5553e632b (patch) | |
tree | 62ae11f342bc617a6c09dc2c9c3a509ac6d2edd2 /synapse/app/pusher.py | |
parent | Merge pull request #3710 from matrix-org/rav/logcontext_for_pusher_updates (diff) | |
parent | changelog (diff) | |
download | synapse-3cef867cc1b6a1a5db031ad89064cea5553e632b.tar.xz |
Merge pull request #3709 from matrix-org/rav/logcontext_for_replication_commands
Logcontexts for replication command handlers
Diffstat (limited to 'synapse/app/pusher.py')
-rw-r--r-- | synapse/app/pusher.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py index 0089a7c64f..a4fc7e91fa 100644 --- a/synapse/app/pusher.py +++ b/synapse/app/pusher.py @@ -148,8 +148,9 @@ class PusherReplicationHandler(ReplicationClientHandler): self.pusher_pool = hs.get_pusherpool() + @defer.inlineCallbacks def on_rdata(self, stream_name, token, rows): - super(PusherReplicationHandler, self).on_rdata(stream_name, token, rows) + yield super(PusherReplicationHandler, self).on_rdata(stream_name, token, rows) run_in_background(self.poke_pushers, stream_name, token, rows) @defer.inlineCallbacks |