Created
October 24, 2024 21:04
-
-
Save skarllot/88c4c8be1910de8cb9a38aac844aa28a to your computer and use it in GitHub Desktop.
Polly retry configuration for exponential backoff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options.RetryCount, retryAttempt => TimeSpan.FromMilliseconds(options.RetryDelayMilliseconds * Math.Pow(2, retryAttempt-1)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment