summary refs log tree commit diff
path: root/synapse/storage/pusher.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-07-24 00:37:17 +0100
committerRichard van der Hoff <richard@matrix.org>2018-07-24 00:37:17 +0100
commit8dff6e0322718ec9c446465c1e10ab331a417b8a (patch)
tree65a9cce97966f34bf1423d5f53c2512ac70a13d4 /synapse/storage/pusher.py
parentMerge pull request #3584 from matrix-org/erikj/use_cached (diff)
downloadsynapse-8dff6e0322718ec9c446465c1e10ab331a417b8a.tar.xz
Logcontext fixes
Fix some random logcontext leaks.
Diffstat (limited to 'synapse/storage/pusher.py')
-rw-r--r--synapse/storage/pusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py
index cc273a57b2..8443bd4c1b 100644
--- a/synapse/storage/pusher.py
+++ b/synapse/storage/pusher.py
@@ -233,7 +233,7 @@ class PusherStore(PusherWorkerStore):
             )
 
             if newly_inserted:
-                self.runInteraction(
+                yield self.runInteraction(
                     "add_pusher",
                     self._invalidate_cache_and_stream,
                     self.get_if_user_has_pusher, (user_id,)