mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-21 17:55:37 +00:00
![Sean Quah](/assets/img/avatar_default.png)
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>
2 lines
82 B
Plaintext
2 lines
82 B
Plaintext
Refactor `Linearizer`, convert methods to async and use an async context manager.
|