mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
mypy_test.py: Try using a process pool instead of a thread pool (#9556)
This commit is contained in:
@@ -435,7 +435,7 @@ def setup_virtual_environments(distributions: dict[str, PackageDependencies], ar
|
||||
|
||||
venv_start_time = time.perf_counter()
|
||||
|
||||
with concurrent.futures.ThreadPoolExecutor() as executor:
|
||||
with concurrent.futures.ProcessPoolExecutor() as executor:
|
||||
venv_info_futures = [
|
||||
executor.submit(setup_venv_for_external_requirements_set, requirements_set, tempdir)
|
||||
for requirements_set in external_requirements_to_distributions
|
||||
|
||||
Reference in New Issue
Block a user