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

Add maximum of workers to config #3516

Merged
Prev Previous commit
Next Next commit
Trigger build
  • Loading branch information
maxispeicher committed Dec 27, 2020
commit 7bc6a22b5148a47ba1934b92177b07f2a003ce6e
1 change: 1 addition & 0 deletions poetry/installation/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def __init__(self, env, pool, config, io, parallel=None, max_workers=None):
parallel = config.get("installer.parallel", True)

if parallel:
# Trigger build
self._max_workers = get_default_max_workers()

if max_workers is None:
Expand Down