Skip to content

Commit c2f6188

Browse files
committed
perf(nix-eval): reduce worker count to prevent OOM
1 parent f3fa451 commit c2f6188

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
@@ -311,7 +311,7 @@ def main() -> None:
311311

312312
args = parser.parse_args()
313313

314-
max_workers: int = os.cpu_count() or 1
314+
max_workers: int = int(os.cpu_count() / 2) or 1
315315

316316
cmd = build_nix_eval_command(max_workers, args.flake_outputs)
317317

0 commit comments

Comments
 (0)