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

Simplify Redlock.locked() #391

Merged
merged 1 commit into from
May 7, 2021
Merged

Simplify Redlock.locked() #391

merged 1 commit into from
May 7, 2021

Conversation

brainix
Copy link
Owner

@brainix brainix commented May 7, 2021

Instead of tracking all TTLs, track only TTLs > 0. This simplifies
quorum and validity time calculations.

Instead of tracking all TTLs, track only TTLs > 0.  This simplifies
quorum and validity time calculations.
@brainix
Copy link
Owner Author

brainix commented May 7, 2021

🐟

@brainix brainix merged commit 251e8dd into master May 7, 2021
@brainix brainix deleted the redlock-locked branch May 7, 2021 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant