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 #723

Closed
wants to merge 0 commits into from
Closed

Add custom retry delay to Redlock #723

wants to merge 0 commits into 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 benhubsch marked this pull request as draft December 15, 2023 18:39
@benhubsch benhubsch closed this Dec 15, 2023
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