mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
You need to call contextmanager
This commit is contained in:
parent
54ef09f860
commit
e122685978
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user