Closed calvinxiao closed 3 years ago
This PR make sure lock works even when redislock.Option is used as global variable, by making a cloned RetryStrategy.
redislock.Option
RetryStrategy
Closing in favour of #31
31 doesn't solve the root problem, I thinks this PR is better.
This PR make sure lock works even when
redislock.Option
is used as global variable, by making a clonedRetryStrategy
.