From 726ad9a0f68d134d7bc2ffa37ad3f369787d19da Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 21 Feb 2019 11:48:11 -0500 Subject: [PATCH] Bump yarn's network timeout from 2 minutes to 5 minutes. --- Makefile | 2 +- scripts/common_startup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fde8e33f859..fa373efdc0a 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,7 @@ ifndef YARN @echo "Could not find yarn, which is required to build the Galaxy client.\nTo install yarn, please visit \033[0;34mhttps://yarnpkg.com/en/docs/install\033[0m for instructions, and package information for all platforms.\n" false; else - cd client && yarn install --network-timeout 120000 --check-files + cd client && yarn install --network-timeout 300000 --check-files endif diff --git a/scripts/common_startup.sh b/scripts/common_startup.sh index 1d848c14524..b7993e1541e 100755 --- a/scripts/common_startup.sh +++ b/scripts/common_startup.sh @@ -248,7 +248,7 @@ if [ $SKIP_CLIENT_BUILD -eq 0 ]; then # Build client cd client - if yarn install --network-timeout 120000 --check-files; then + if yarn install --network-timeout 300000 --check-files; then if ! yarn run build-production-maps; then echo "ERROR: Galaxy client build failed. See ./client/README.md for more information, including how to get help." exit 1