Skip to content

Lock.Refresh method: use provided RetryStrategy#83

Open
iSerganov wants to merge 1 commit intobsm:mainfrom
iSerganov:refresh_retry
Open

Lock.Refresh method: use provided RetryStrategy#83
iSerganov wants to merge 1 commit intobsm:mainfrom
iSerganov:refresh_retry

Conversation

@iSerganov
Copy link
Copy Markdown

@iSerganov iSerganov commented Mar 27, 2026

At the moment Refresh method doesn't do any retries and returns immediately if Redis client encounters an error. I find it misleading since Refresh accepts Options which contain RetryStrategy. So why not to use it?

Also added comprehensive unit tests for Refresh

@dim, could you please have a look whether this change makes sense to you?

At the moment Refresh method doesn't do any retries and returns immediately if Redis client encounters an error. I find it misleading since Refresh accepts Options which contain RetryStrategy. So why not to use it?
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.

1 participant