projects
/
buildbot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
phase2: do not exceed nproc build concurrency
[buildbot.git]
/
phase2
/
master.cfg
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