issues
search
bsm
/
redislock
Simplified distributed locking implementation using Redis
Other
1.45k
stars
157
forks
source link
Reset backoff timer for exponential backoff
#58
Closed
quagmt
closed
1 year ago
quagmt
commented
1 year ago
Description
With exponential backoff, the ticker is only set with the initial backoff duration. So even if the backoff duration is increased, the wait time is still the min value
I added the
ticker.Reset
to add new backoff duration to the timer
dim
commented
1 year ago
Good catch, will create a new release later this week
Description
ticker.Reset
to add new backoff duration to the timer