pottery icon indicating copy to clipboard operation
pottery copied to clipboard

Add custom retry delay to Redlock

Open benhubsch opened this issue 2 years ago • 3 comments

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 avatar Dec 15 '23 18:12 benhubsch

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.

benhubsch avatar Dec 15 '23 18:12 benhubsch

Bump @brainix. Thanks!

benhubsch avatar Dec 28 '23 22:12 benhubsch

Bump @brainix !

benhubsch avatar Feb 16 '24 19:02 benhubsch