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

Fix concurrent access to result map when merging coverage #1425

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ssams
Copy link

@ssams ssams commented Aug 12, 2021

resolves #1424

Note that an alternative implementation could be made using p-reduce which might be slightly more efficient as it could start processing whilst files are still in the process of being loaded. However, this would require switching to ESM ... hence I decided on a simpler approach without introducing a new dependency for now (it also would not support limit concurrency at the moment, sindresorhus/p-reduce#4, thus requiring another dependency to p-limit).

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.

Concurrent modification of coverage map when merging multiple files
1 participant