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

No timeout when registry is unreachable #290

Closed
tanepiper opened this issue Oct 21, 2016 · 2 comments
Closed

No timeout when registry is unreachable #290

tanepiper opened this issue Oct 21, 2016 · 2 comments

Comments

@tanepiper
Copy link

Today, with the DynDNS outage that caused the NPM registry to be un-contactable - before I was aware of this I ran npm-check-updates on a repository I'm working on.

At no point did it time out, it sat for about 20 minutes just spinning while trying to resolve it. I had run it, gone away to grab a coffee and came back a bit later only to notice this when I was about to start writing code again.

@raineorshine
Copy link
Owner

Good call. It would be better if it timed out and notified you that there may be network issues.

@raineorshine
Copy link
Owner

--timeout <ms> option added.

Published in v2.11.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants