From ed0456e798e3e60a4e3d0936d2cf04d8a5c9ec12 Mon Sep 17 00:00:00 2001 From: Emily Xiong Date: Thu, 21 Sep 2023 13:42:39 -0400 Subject: [PATCH] chore(repo): increate npm fetch retires count and timeout (#19191) --- .npmrc | 4 ++++ .verdaccio/config.yml | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000000000..ab672c7df7d71 --- /dev/null +++ b/.npmrc @@ -0,0 +1,4 @@ +fetch-retries=5 +fetch-retry-mintimeout=60000 +fetch-retry-maxtimeout=120000 +fetch-timeout=300000 \ No newline at end of file diff --git a/.verdaccio/config.yml b/.verdaccio/config.yml index 1293b915662c4..5b061f0c786af 100644 --- a/.verdaccio/config.yml +++ b/.verdaccio/config.yml @@ -12,11 +12,13 @@ uplinks: maxage: 60m max_fails: 20 fail_timeout: 2m + timeout: 5m yarn: url: https://registry.yarnpkg.com maxage: 60m max_fails: 20 fail_timeout: 2m + timeout: 5m packages: '@*/*':