From 4469a4b85101b432bd4ee4d049b82a3e274eae45 Mon Sep 17 00:00:00 2001 From: Cesar De la Torre Date: Wed, 8 Mar 2017 17:10:34 -0800 Subject: [PATCH] Raising the number of retries with exponential backoff so in potential slower machines there's time enough. Related to issue: https://github.com/dotnet/eShopOnContainers/issues/97 --- .../WebMVC/Services/Utilities/RetryWithExponentialBackoff.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Web/WebMVC/Services/Utilities/RetryWithExponentialBackoff.cs b/src/Web/WebMVC/Services/Utilities/RetryWithExponentialBackoff.cs index 09e3d548f..b9569c843 100644 --- a/src/Web/WebMVC/Services/Utilities/RetryWithExponentialBackoff.cs +++ b/src/Web/WebMVC/Services/Utilities/RetryWithExponentialBackoff.cs @@ -21,7 +21,7 @@ namespace Microsoft.eShopOnContainers.WebMVC.Services { private readonly int maxRetries, delayMilliseconds, maxDelayMilliseconds; - public RetryWithExponentialBackoff(int maxRetries = 10, int delayMilliseconds = 200, int maxDelayMilliseconds = 2000) + public RetryWithExponentialBackoff(int maxRetries = 50, int delayMilliseconds = 200, int maxDelayMilliseconds = 2000) { this.maxRetries = maxRetries; this.delayMilliseconds = delayMilliseconds;