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

[rush] Add a --network-concurrency option for troubleshooting network issues #770

Merged
merged 4 commits into from
Aug 10, 2018

Conversation

octogonz
Copy link
Collaborator

People have occasionally been reporting "integrity checksum failed" errors during PNPM install, which result from an ECONNRESET error that seems to be related to an issue with the network connection pool. (See pnpm/pnpm#1230 for details.)

We found that specifying PNPM's --network-concurrency 1 option eliminates the error (but increases install times). This PR exposes this switch to rush install so we can use it as a workaround. We will experiment with different values and perhaps propose applying a default maximum for the PNPM tool.


/**
* The value of the "--network-concurrency" command-line parameter, which
* is a diagnostic option used to troubleshoot network failures.
Copy link
Member

@iclanton iclanton Aug 10, 2018

Choose a reason for hiding this comment

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

I'd mention this is PNPM-specific here as well. #Resolved

Copy link
Member

@iclanton iclanton left a comment

Choose a reason for hiding this comment

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

:shipit:

@octogonz octogonz merged commit b09f550 into master Aug 10, 2018
@octogonz octogonz deleted the pgonzal/rush-network-concurrency branch September 1, 2018 05:17
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.

3 participants