summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-05-14 11:36:44 +0100
committerMark Haines <mark.haines@matrix.org>2015-05-14 11:36:44 +0100
commit899d4675dd44d63d03b92eb50b4382b7cbc4ce33 (patch)
tree813b38ef16b8fe62f82049108464eb3737d4d4dc /synapse/storage
parentFix v2 sync, update the last_notified_ms only if there was an active listener (diff)
parentMerge branch 'develop' into notifier_unify (diff)
downloadsynapse-899d4675dd44d63d03b92eb50b4382b7cbc4ce33.tar.xz
Merge branch 'notifier_unify' into notifier_performance
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 7d6df5f4c6..971f3211ac 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -48,6 +48,7 @@ class EventsStore(SQLBaseStore):
             @contextmanager
             def stream_ordering_manager():
                 yield stream_ordering
+            stream_ordering_manager = stream_ordering_manager()
 
         try:
             with stream_ordering_manager as stream_ordering: