Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: limit concurrent open files during 'npm cache verify' (#7631)
This change solves #4783 <!-- What / Why --> <!-- Describe the request in detail. What it does and why it's being changed. --> During 'npm cache verify', currently all the cache files are open at the same time, which will bring EMFILE error in an environment that limit max open files. This change limits the concurrent open files in garbageCollect() with p-map module to avoid this problem. ## References Fixes #4783
- Loading branch information