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

Add custom retry delay to Redlock #724

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

benhubsch
Copy link

The default RETRY_DELAY upper bound is 200ms, which is on the slow side for my use case. This PR adds some very basic logic to allow the delay to be configured on a per-Lock basis via the constructor, keeping the old delay as default.

Let me know if there are ways I can test or augment this PR!

@benhubsch
Copy link
Author

Somehow was rebased on a very old version in #723 so just killed it in favor of this PR instead.

@benhubsch
Copy link
Author

Bump @brainix. Thanks!

@benhubsch
Copy link
Author

Bump @brainix !

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.

None yet

1 participant