Skip to content

Commit 4469a4b

Browse files
Raising the number of retries with exponential backoff so in potential slower machines there's time enough.
Related to issue: dotnet-architecture#97
1 parent ec7e63d commit 4469a4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Web/WebMVC/Services/Utilities/RetryWithExponentialBackoff.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public sealed class RetryWithExponentialBackoff
2121
{
2222
private readonly int maxRetries, delayMilliseconds, maxDelayMilliseconds;
2323

24-
public RetryWithExponentialBackoff(int maxRetries = 10, int delayMilliseconds = 200, int maxDelayMilliseconds = 2000)
24+
public RetryWithExponentialBackoff(int maxRetries = 50, int delayMilliseconds = 200, int maxDelayMilliseconds = 2000)
2525
{
2626
this.maxRetries = maxRetries;
2727
this.delayMilliseconds = delayMilliseconds;

0 commit comments

Comments
 (0)