Skip to content

Commit f5ca8ad

Browse files
committed
increase max retries for all deploy run controller operations
1 parent da08e50 commit f5ca8ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cli-v3/src/entryPoints/deploy-run-controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const SHORT_HASH = env.TRIGGER_CONTENT_HASH!.slice(0, 9);
4343
const logger = new SimpleLogger(`[${MACHINE_NAME}][${SHORT_HASH}]`);
4444

4545
const defaultBackoff = new ExponentialBackoff("FullJitter", {
46-
maxRetries: 5,
46+
maxRetries: 7,
4747
});
4848

4949
cliLogger.loggerLevel = "debug";
@@ -418,7 +418,7 @@ class ProdWorker {
418418

419419
// Retry if we don't receive EXECUTE_TASK_RUN_LAZY_ATTEMPT in a reasonable time
420420
// ..but we also have to be fast to avoid failing the task due to missing heartbeat
421-
for await (const { delay, retry } of defaultBackoff.min(10).maxRetries(3)) {
421+
for await (const { delay, retry } of defaultBackoff.min(10).maxRetries(7)) {
422422
if (retry > 0) {
423423
logger.log("retrying ready for lazy attempt", { retry });
424424
}

0 commit comments

Comments
 (0)