Commit fa211ab
committed
Increase default timeout value from 30s to 5m
Re: #26
Re: npm/cli#1151
The previous default of 30s was too small for lots of users, causing
problems when they attempt to download large objects from the npm
registry.
Bump up the default timeout to 5m.
TODO: add a `--fetch-timeout` option on the CLI to explicitly set
`timeout` in the npm.flatOptions object passed to all dependencies.
PR-URL: #28
Credit: @isaacs
Close: #28
Reviewed-by: @isaacs1 parent ebddbe7 commit fa211ab
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
| 574 | + | |
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments