We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4168d7 commit 6d04055Copy full SHA for 6d04055
components/clp-package-utils/clp_package_utils/controller.py
@@ -819,7 +819,7 @@ def _get_num_workers() -> int:
819
:return: Number of worker processes to run.
820
"""
821
# This will change when we move from single to multi-container workers. See y-scope/clp#1424
822
- return multiprocessing.cpu_count() // 2
+ return max(1, multiprocessing.cpu_count() // 2)
823
824
def _get_docker_file_name(self) -> str:
825
0 commit comments