save progress
This commit is contained in:
@@ -39,7 +39,7 @@ internal static class SourceRetryPolicy
|
||||
}
|
||||
catch (Exception ex) when (attempt < maxAttempts)
|
||||
{
|
||||
var delay = ComputeDelay(baseDelay, attempt, jitterSource: jitterSource);
|
||||
var delay = ComputeDelay(baseDelay, attempt, retryAfter: null, jitterSource: jitterSource);
|
||||
onRetry?.Invoke(new SourceRetryAttemptContext(attempt, null, ex, delay));
|
||||
await Task.Delay(delay, cancellationToken).ConfigureAwait(false);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user