diff --git a/src/Web/WebMVC/Services/Utilities/HttpApiClientWrapper.cs b/src/Web/WebMVC/Services/Utilities/HttpApiClientWrapper.cs index 1e55305c5..06172eb53 100644 --- a/src/Web/WebMVC/Services/Utilities/HttpApiClientWrapper.cs +++ b/src/Web/WebMVC/Services/Utilities/HttpApiClientWrapper.cs @@ -36,7 +36,7 @@ namespace WebMVC.Services.Utilities Policy.Handle() .CircuitBreakerAsync( // number of exceptions before breaking circuit - 3, + 5, // time circuit opened before retry TimeSpan.FromMinutes(1), (exception, duration) => @@ -55,7 +55,7 @@ namespace WebMVC.Services.Utilities Policy.Handle() .WaitAndRetryAsync( // number of retries - 3, + 5, // exponential backofff retryAttempt => TimeSpan.FromSeconds(Math.Pow(2, retryAttempt)), // on retry