-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
index: fix multiprocessing regression
Parallelization was broken accidentally a while ago when we switched from git subprocesses to libgit2. Previously git subprocesses could run in parallel within a thread pool, but libgit2 implements locking, preventing parallel execution. This commit: - introduces a process pool with an individual GitRepo object for each worker respectively - adds a --max_workers command-line argument
- Loading branch information
Showing
1 changed file
with
29 additions
and
16 deletions.
There are no files selected for viewing
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