-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Switch to recursive lock #12
Conversation
233fb27
to
ba2c0d8
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did some tests on Mail and Drive, it works fine, so I'm opening this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did some test on the mail app. No regressions 👍
Switching
SimpleResolver
to a recursive lock.This fixes a rare bug in
loadOrResolve()
, reduce latency, and is now cleaner than an internal queue.In my synthetic tests, this is 19% faster than 2.0.3
More details in the exploratory PR