Skip to content

Commit 8e845af

Browse files
committed
(wip) experiment with a reduced number of workers
1 parent 9d03774 commit 8e845af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nix/packages/github-matrix/github_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def main() -> None:
296296

297297
args = parser.parse_args()
298298

299-
max_workers: int = os.cpu_count() or 1
299+
max_workers: int = int(os.cpu_count() / 2) or 1
300300

301301
cmd = build_nix_eval_command(max_workers, args.max_memory_size, args.flake_outputs)
302302

0 commit comments

Comments
 (0)