Skip to content
Snippets Groups Projects
Unverified Commit 800ba87c authored by Sean Quah's avatar Sean Quah Committed by GitHub
Browse files

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: default avatarSean Quah <seanq@element.io>
parent ab3fdcf9
No related branches found
No related tags found
No related merge requests found
Showing
with 102 additions and 113 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment