Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ def _get_num_workers() -> int:
:return: Number of worker processes to run.
"""
# This will change when we move from single to multi-container workers. See y-scope/clp#1424
return multiprocessing.cpu_count() // 2
return max(1, multiprocessing.cpu_count() // 2)

def _get_docker_file_name(self) -> str:
"""
Expand Down
Loading