projects
/
buildbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
907d71e
)
phase2: do not exceed nproc build concurrency
author
Thibaut VARÈNE
<hacks@slashdirt.org>
Sat, 11 Nov 2023 15:12:37 +0000
(16:12 +0100)
committer
Petr Štetiar
<ynezz@true.cz>
Thu, 16 Nov 2023 08:57:19 +0000
(09:57 +0100)
Align with phase1 (
2ad0478
)
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
phase2/master.cfg
patch
|
blob
|
history
diff --git
a/phase2/master.cfg
b/phase2/master.cfg
index 5e8b71cb9f9f42a83970814e917009cd2e876cf6..7342363a4dd87f8245b0c89e77c6041fd668d677 100644
(file)
--- 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