-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ignore::WalkParallel for native parallelization instead of rayon (#…
…1412) This potentially fixes a deadlock with `rayon::par_bridge` which relies on a shared mutex. If we recursively rely par_bridge through recursive walking, it's _possible_ that this creates a deadlock situation. Thankfully ignore implements its own parallelized walker which we should be using instead of par_bridge. I could not detect if this deadlock is actually caused by this line of code, but I believe these stalls did start happening more often when we added more parallelization to CLI.
- Loading branch information
Showing
4 changed files
with
26 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters