| 1 | # Installs on g1t's runners (and anywhere else) retry a dropped connection |
| 2 | # to the registry more patiently than npm's default of two quick retries: |
| 3 | # an ECONNRESET partway through a 1,300-package install used to fail CI. |
| 4 | fetch-retries=5 |
| 5 | fetch-retry-mintimeout=5000 |
| 6 | fetch-retry-maxtimeout=60000 |
| 7 | # Fewer connections at once than npm's 15: on g1t's cloud runners each one |
| 8 | # passes through the runner Worker, and bursts of parallel tarball |
| 9 | # downloads are when a body broke off midway. |
| 10 | maxsockets=8 |