diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-12 16:12:37 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-12 16:12:37 +0100 |
commit | e12268597804d759f82ccd827359059ba7cb05ef (patch) | |
tree | ae4c5e479f2f318cf99c0ec503144c210c9d091d /synapse | |
parent | Merge pull request #151 from matrix-org/revert-147-presence-performance (diff) | |
download | synapse-e12268597804d759f82ccd827359059ba7cb05ef.tar.xz |
You need to call contextmanager
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/events.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index a5a6869079..9242b0a84e 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: |