Skip to content

Commit 308620a

Browse files
committed
chunk_size 200k
1 parent ef6d785 commit 308620a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nixpkgs_review/review.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import argparse
22
import json
3-
import multiprocessing
43
import os
54
import subprocess
65
import sys
@@ -226,8 +225,9 @@ def build_commit(
226225
# Source: https://github.com/NixOS/nixpkgs/blob/master/ci/eval/README.md
227226
# TODO: make those overridable
228227
max_jobs: int = len(self.systems)
229-
n_cores: int = multiprocessing.cpu_count() // max_jobs
230-
chunk_size: int = 10_000
228+
# n_cores: int = multiprocessing.cpu_count() // max_jobs
229+
n_cores: int = self.num_parallel_evals
230+
chunk_size: int = 200_000
231231

232232
with tempfile.TemporaryDirectory() as temp_dir:
233233
before_dir: str = str(temp_dir / Path("before_eval_results"))

0 commit comments

Comments
 (0)