From dff232c2de2150a5c89504cedac2bdffeeddd939 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 10 Oct 2026 15:16:17 +0200 Subject: [PATCH] Use --fast-ci/--slow-ci default for parallelism No longer pass a pessimistic -j2 option by default. Instead, rely on --fast-ci/--slow-ci which uses -j0 by default: use os.process_cpu_count() or os.cpu_count() to decide the number of jobs to run. --- master/custom/factories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/custom/factories.py b/master/custom/factories.py index c5ce171e..b2a1db12 100644 --- a/master/custom/factories.py +++ b/master/custom/factories.py @@ -71,7 +71,7 @@ def __init__(self, source, *, extra_tags=[], **kwargs): } def create_test_opts(self, branch, worker): - testopts = [*self.testFlags, *get_j_opts(worker, 2)] + testopts = [*self.testFlags, *get_j_opts(worker)] if ( not has_option("-R", self.testFlags) and 'installed' not in self.factory_tags