Skip to content
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

fix: ensure a new lock isn't conflicting with itself #830

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

mhenrixon
Copy link
Owner

@mhenrixon mhenrixon commented Feb 7, 2024

This should also improve performance. I still need to create performance tests or benchmarks to tell for sure.

My test suite time is down to:

CleanShot 2024-02-07 at 12 29 05@2x

Closes #824

Sidekiq only checks in every ten seconds or so. Take this into consideration when cleaning up orphans. Also, make use of zrange byscore to limit the selection a bit.
@mhenrixon mhenrixon merged commit b1e3573 into main Feb 7, 2024
17 of 18 checks passed
@mhenrixon mhenrixon deleted the fix/unique-while-self-conflict branch February 7, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

until_and_while_executing not entering perform method on initial run
1 participant