From ba845e085e48b4592e6432c23cf8cc2bca0e3e81 Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Fri, 15 Sep 2023 18:28:28 +0200 Subject: [PATCH] Attempt to improve js image reliability --- linux/ubuntu/scripts/js.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux/ubuntu/scripts/js.sh b/linux/ubuntu/scripts/js.sh index fd2977d..5f53439 100755 --- a/linux/ubuntu/scripts/js.sh +++ b/linux/ubuntu/scripts/js.sh @@ -49,6 +49,8 @@ npm config set fetch-retry-mintimeout 120000 npm config set fetch-retry-maxtimeout 120000 npm config set prefer-offline true npm config set registry http://registry.npmjs.org/ +npm config set maxsockets 4 +npm config set fetch-retries 4 # Otherwise there are no log updates for 10m+ on qemu npm config set loglevel verbose npm config ls -l