MatrixSynapse/synapse/state
Sean Quah 800ba87cc8
Refactor and convert `Linearizer` to async (#12357)
Refactor and convert `Linearizer` to async. This makes a `Linearizer`
cancellation bug easier to fix.

Also refactor to use an async context manager, which eliminates an
unlikely footgun where code that doesn't immediately use the context
manager could forget to release the lock.

Signed-off-by: Sean Quah <seanq@element.io>
2022-04-05 15:43:52 +01:00
..
__init__.py Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
v1.py Add type hints to `synapse/storage/databases/main/events_worker.py` (#11411) 2021-11-26 18:41:31 +00:00
v2.py