From 800ba87cc881856adae19ec40485578356398639 Mon Sep 17 00:00:00 2001 From: Sean Quah <8349537+squahtx@users.noreply.github.com> Date: Tue, 5 Apr 2022 15:43:52 +0100 Subject: 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 --- changelog.d/12357.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/12357.misc (limited to 'changelog.d/12357.misc') diff --git a/changelog.d/12357.misc b/changelog.d/12357.misc new file mode 100644 index 0000000000..d571ae034c --- /dev/null +++ b/changelog.d/12357.misc @@ -0,0 +1 @@ +Refactor `Linearizer`, convert methods to async and use an async context manager. -- cgit 1.4.1