From 3ab989cf3c5616d967ec9eb8e16d981609b40143 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 27 Jun 2017 13:11:54 -0400 Subject: [PATCH] chore: increase npm retries and max timeout (#1550) CI servers fail with timeouts, or network issues quite frequently, requiring maintainers to manually restart failed builds. Hopefully these npm settings will help mitigating these issues. Change-Type: patch Signed-off-by: Juan Cruz Viotti --- scripts/build/dependencies-npm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/dependencies-npm.sh b/scripts/build/dependencies-npm.sh index e28c5cee..36a6ab20 100755 --- a/scripts/build/dependencies-npm.sh +++ b/scripts/build/dependencies-npm.sh @@ -101,7 +101,7 @@ function run_install() { # since compiled add-ons will not work otherwise. npm rebuild - npm install $INSTALL_OPTS + npm install $INSTALL_OPTS --fetch-retries 10 --fetch-retry-maxtimeout 180000 if [ "$ARGV_PRODUCTION" == "true" ]; then