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

Retry on connection timeout #7163

Merged
merged 4 commits into from
Apr 8, 2019
Merged

Conversation

VincentBailly
Copy link
Contributor

Summary

yarn install randomly fails with a ETIMEDOUT error even though we have not reached the user defined timeout. In some cases, ETIMEDOUT error is not due to user defined timeout but to network instabilities, in such cases we should retry connecting (as we already do for ESOCKETTIMEDOUT errors)

Test plan

We tested this fork in production for a few days, no new issues or perf regression was observed, and the issue was fixed.

@VincentBailly
Copy link
Contributor Author

VincentBailly commented Apr 1, 2019

See issue #7162

@arcanis arcanis merged commit 8a671f1 into yarnpkg:master Apr 8, 2019
@arcanis
Copy link
Member

arcanis commented Apr 8, 2019

LGTM, thanks 👍

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.

None yet

2 participants