From: Thibaut VARÈNE Date: Sat, 11 Nov 2023 15:12:37 +0000 (+0100) Subject: phase2: do not exceed nproc build concurrency X-Git-Tag: v10~13 X-Git-Url: http://git.openwrt.org/?p=buildbot.git;a=commitdiff_plain;h=b0504ebd44183b5e7df5f7df021ab5baa0adbdb9 phase2: do not exceed nproc build concurrency Align with phase1 (2ad0478) Signed-off-by: Thibaut VARÈNE --- diff --git a/phase2/master.cfg b/phase2/master.cfg index 5e8b71c..7342363 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -289,7 +289,7 @@ def GetDirectorySuffix(props): def GetNumJobs(props): if props.hasProperty("workername") and props.hasProperty("nproc"): - return ((int(props["nproc"]) / max_builds[props["workername"]]) + 1) + return (int(props["nproc"]) / max_builds[props["workername"]]) else: return 1