Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase default timeout value from 30s to 5m #28

Closed
wants to merge 1 commit into from

Conversation

isaacs
Copy link
Contributor

@isaacs isaacs commented Apr 23, 2020

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.

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.
Copy link

@darcyclarke darcyclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM

@isaacs isaacs closed this in fa211ab Apr 28, 2020
@wraithgar wraithgar deleted the isaacs/timeout-default-5m branch April 22, 2021 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants