mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-05 17:35:28 +02:00
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.
|