mirror of
https://github.com/pnpm/pnpm.git
synced 2026-02-04 12:11:29 -05:00
Use the retry package to support all the different retry strategy configurations that can be used with npm: fetch-retries fetch-retry-factor fetch-retry-mintimeout fetch-retry-maxtimeout More info about the configs: https://docs.npmjs.com/misc/config#fetch-retries close #317, PR #327
11 lines
235 B
JavaScript
11 lines
235 B
JavaScript
'use strict'
|
|
module.exports = {
|
|
concurrency: 16,
|
|
fetchRetries: 2,
|
|
fetchRetryFactor: 10,
|
|
fetchRetryMintimeout: 1e4, // 10 seconds
|
|
fetchRetryMaxtimeout: 6e4, // 1 minute
|
|
storePath: 'node_modules/.store',
|
|
logger: 'pretty'
|
|
}
|