We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef6d785 commit 308620aCopy full SHA for 308620a
nixpkgs_review/review.py
@@ -1,6 +1,5 @@
1
import argparse
2
import json
3
-import multiprocessing
4
import os
5
import subprocess
6
import sys
@@ -226,8 +225,9 @@ def build_commit(
226
225
# Source: https://github.com/NixOS/nixpkgs/blob/master/ci/eval/README.md
227
# TODO: make those overridable
228
max_jobs: int = len(self.systems)
229
- n_cores: int = multiprocessing.cpu_count() // max_jobs
230
- chunk_size: int = 10_000
+ # n_cores: int = multiprocessing.cpu_count() // max_jobs
+ n_cores: int = self.num_parallel_evals
+ chunk_size: int = 200_000
231
232
with tempfile.TemporaryDirectory() as temp_dir:
233
before_dir: str = str(temp_dir / Path("before_eval_results"))
0 commit comments