From a72b8847c5e1cb079c2565ad693b3f0c1195ff9c Mon Sep 17 00:00:00 2001 From: Enes Cakir Date: Tue, 31 Mar 2026 19:08:32 +0300 Subject: [PATCH] Increase execution timeout limit to 120s from 30s The download command in the install script now retries up to 5 times with a 60s timeout each [1]. Since the current timeout is 30s, the download command can't retry even once if it gets stuck. Increasing it to 120s will give it more time to retry and complete the download. [1]: https://github.com/DopplerHQ/cli/pull/517 --- bin/index.js | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/index.js b/bin/index.js index 6dc0bdb..7afaab1 100644 --- a/bin/index.js +++ b/bin/index.js @@ -32593,7 +32593,7 @@ async function executeInstallSh(installPath) { // execute script await mkdirP(installPath); const installCommand = `${downloadPath} --debug --no-package-manager --install-path ${installPath}`; - execSync(installCommand, { timeout: 30000, stdio: "inherit" }); + execSync(installCommand, { timeout: 120_000, stdio: "inherit" }); // add binary to PATH addPath(installPath); diff --git a/src/index.js b/src/index.js index 6753efc..b0689a3 100644 --- a/src/index.js +++ b/src/index.js @@ -44,7 +44,7 @@ async function executeInstallSh(installPath) { // execute script await io.mkdirP(installPath); const installCommand = `${downloadPath} --debug --no-package-manager --install-path ${installPath}` - execSync(installCommand, { timeout: 30000, stdio: "inherit" }); + execSync(installCommand, { timeout: 120_000, stdio: "inherit" }); // add binary to PATH core.addPath(installPath);