Ensure valid timeout settings in ExponentialRetry by gliljas · Pull Request #1921 · StackExchange/StackExchange.Redis

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@gliljas

Copy link Copy Markdown

Contributor

@gliljas gliljas commented

Dec 1, 2021

edited

Loading

Setting a timeout from the connectionstring can cause deltaBackOffMilliseconds to be higher than maxDeltaBackOffMilliseconds, which will cause an ArgumentOutOfRangeException ('minValue' cannot be greater than maxValue.) in ShouldRetry.

Copy link Copy Markdown

Collaborator

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the additional checks here!

@NickCraver NickCraver merged commit a65b432 into StackExchange:main

Feb 18, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@NickCraver NickCraver NickCraver approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@gliljas @NickCraver