We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a07207a commit 449ee3fCopy full SHA for 449ee3f
1 file changed
src/Web/WebMVC/Services/Utilities/HttpApiClientWrapper.cs
@@ -36,7 +36,7 @@ private Policy CreateCircuitBreakerPolicy() =>
36
Policy.Handle<HttpRequestException>()
37
.CircuitBreakerAsync(
38
// number of exceptions before breaking circuit
39
- 3,
+ 5,
40
// time circuit opened before retry
41
TimeSpan.FromMinutes(1),
42
(exception, duration) =>
@@ -55,7 +55,7 @@ private Policy CreateRetryPolicy() =>
55
56
.WaitAndRetryAsync(
57
// number of retries
58
59
// exponential backofff
60
retryAttempt => TimeSpan.FromSeconds(Math.Pow(2, retryAttempt)),
61
// on retry
0 commit comments