From 28d1e35d7a4d57c86193dd49f6cc0358eced65a1 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Tue, 22 Sep 2026 16:09:04 +0200 Subject: [PATCH] Raise pnpm and yarn network timeouts --- lib/runtime.func | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/runtime.func b/lib/runtime.func index 92b73ac..739e7b0 100644 --- a/lib/runtime.func +++ b/lib/runtime.func @@ -1608,6 +1608,16 @@ setup_nodejs() { # instead, so an unapproved build warns rather than aborts. if command -v pnpm >/dev/null 2>&1; then pnpm config set --global strictDepBuilds false >/dev/null 2>&1 || true + pnpm config set --global fetch-timeout 600000 >/dev/null 2>&1 || true + pnpm config set --global network-concurrency 8 >/dev/null 2>&1 || true + fi + + if command -v yarn >/dev/null 2>&1; then + if [[ "$(yarn --version 2>/dev/null | cut -d. -f1)" == "1" ]]; then + $STD yarn config set network-timeout 600000 2>/dev/null || true + else + $STD yarn config set --home httpTimeout 600000 2>/dev/null || true + fi fi }