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
This commit is contained in:
parent
ec7e63def2
commit
4469a4b851
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user