summary refs log tree commit diff
path: root/synapse/push/httppusher.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-04-14 11:56:52 +0100
committerErik Johnston <erik@matrix.org>2016-04-14 11:56:52 +0100
commit86e9bbc74e69d0f8c772c01c363a38594bc6bdf2 (patch)
tree4109ef23f0d09fb1863cb2e8329550c702a264ee /synapse/push/httppusher.py
parentRename log context (diff)
downloadsynapse-86e9bbc74e69d0f8c772c01c363a38594bc6bdf2.tar.xz
Add missing yield
Diffstat (limited to '')
-rw-r--r--synapse/push/httppusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py
index 6268ea7b00..6950a20632 100644
--- a/synapse/push/httppusher.py
+++ b/synapse/push/httppusher.py
@@ -149,7 +149,7 @@ class HttpPusher(object):
             if processed:
                 self.backoff_delay = HttpPusher.INITIAL_BACKOFF_SEC
                 self.last_stream_ordering = push_action['stream_ordering']
-                self.store.update_pusher_last_stream_ordering_and_success(
+                yield self.store.update_pusher_last_stream_ordering_and_success(
                     self.app_id, self.pushkey, self.user_id,
                     self.last_stream_ordering,
                     self.clock.time_msec()