From 1ae2fa09f387c6ec7ff78f0a4363e9fd1cb9760d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Test=C3=A9?= Date: Tue, 9 Jul 2024 17:48:55 +0200 Subject: [PATCH] chore(gh): set runner wait timeout to 30 mins Some instances can be very slow to start up, timeout duration is increased to avoid false-positive spawn failure and thus having zombie instances in the wild. --- dist/index.js | 2 +- src/gh.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 27988ed..343061f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -49661,7 +49661,7 @@ async function getRunner(label) { } async function waitForRunnerRegistered(label) { - const timeoutSeconds = 900 + const timeoutSeconds = 1800 const retryIntervalSeconds = 10 const quietPeriodSeconds = 30 let waitSeconds = 0 diff --git a/src/gh.js b/src/gh.js index ec67c70..0f1455e 100644 --- a/src/gh.js +++ b/src/gh.js @@ -25,7 +25,7 @@ async function getRunner(label) { } async function waitForRunnerRegistered(label) { - const timeoutSeconds = 900 + const timeoutSeconds = 1800 const retryIntervalSeconds = 10 const quietPeriodSeconds = 30 let waitSeconds = 0