pottery
pottery copied to clipboard
Add custom retry delay to Redlock
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!
Somehow was rebased on a very old version in https://github.com/brainix/pottery/pull/723 so just killed it in favor of this PR instead.
Bump @brainix. Thanks!
Bump @brainix !