Browse Source

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
pull/104/head
Cesar De la Torre 8 years ago
parent
commit
4469a4b851
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Web/WebMVC/Services/Utilities/RetryWithExponentialBackoff.cs

+ 1
- 1
src/Web/WebMVC/Services/Utilities/RetryWithExponentialBackoff.cs View File

@ -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…
Cancel
Save