Minor change in Exponential Backoff config for the RetryPolicy
This commit is contained in:
parent
2e5dca4467
commit
649950f2df
@ -38,7 +38,7 @@ namespace WebMVC.Services.Utilities
|
||||
// number of retries
|
||||
6,
|
||||
// exponential backofff
|
||||
retryAttempt => TimeSpan.FromSeconds(Math.Pow(1, retryAttempt)),
|
||||
retryAttempt => TimeSpan.FromSeconds(Math.Pow(2, retryAttempt)),
|
||||
// on retry
|
||||
(exception, timeSpan, retryCount, context) =>
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user