mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 11:36:03 +03:00
800ba87cc8
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>
1 line
82 B
Text
1 line
82 B
Text
Refactor `Linearizer`, convert methods to async and use an async context manager.
|