static private WaitBeforeRetry ( int retries ) : void | ||
retries | int | |
return | void |
static void WaitBeforeRetry(int retries)
{
int delay = (int)(Math.Pow(4, retries) * 100);
delay = Math.Min(delay, MAX_BACKOFF_IN_MILLISECONDS);
AWSSDKUtils.Sleep(delay);
}