Minor change in Exponential Backoff config for the RetryPolicy

This commit is contained in:
Cesar De la Torre 2017-03-28 23:58:04 -07:00
parent 2e5dca4467
commit 649950f2df

View File

@ -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) =>
{