mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-08-29 05:15:06 +09:00
chore: Update dist
This commit is contained in:
+1
-1
@@ -74845,11 +74845,11 @@ async function retryAndBackoff(fn, isRetryable, maxRetries = 12, retries = 0, ba
|
||||
info(
|
||||
`Retry${opName}: attempt ${nextRetry} of ${maxRetries} failed: ${errorMessage(err)}. Retrying after ${Math.floor(delay)}ms.`
|
||||
);
|
||||
await sleep2(delay);
|
||||
if (nextRetry >= maxRetries) {
|
||||
info(`Retry${opName}: reached max retries (${maxRetries}); giving up.`);
|
||||
throw err;
|
||||
}
|
||||
await sleep2(delay);
|
||||
return await retryAndBackoff(fn, isRetryable, maxRetries, nextRetry, base, label);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user