[buildbot] phase1, phase2: reduce backlog size

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 10 11:00:45 PST 2017


jow pushed a commit to buildbot.git, branch master:
https://git.lede-project.org/d9786ca6b0d4de7af683d4821c28b89f78283ff1

commit d9786ca6b0d4de7af683d4821c28b89f78283ff1
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Jan 10 19:59:32 2017 +0100

    phase1, phase2: reduce backlog size
    
    The build logs take up a lot of space and are relatively rarely needed,
    so only keep logs for the last 20 builds and general info for the last
    30 builds.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 phase1/master.cfg | 4 ++++
 phase2/master.cfg | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/phase1/master.cfg b/phase1/master.cfg
index a87b45e..adf3cff 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -51,6 +51,10 @@ c['slavePortnum'] = slave_port
 # coalesce builds
 c['mergeRequests'] = True
 
+# Reduce amount of backlog data
+c['buildHorizon'] = 30
+c['logHorizon'] = 20
+
 ####### CHANGESOURCES
 
 home_dir = os.path.abspath(ini.get("general", "homedir"))
diff --git a/phase2/master.cfg b/phase2/master.cfg
index 4e9df39..b1d3860 100644
--- a/phase2/master.cfg
+++ b/phase2/master.cfg
@@ -61,6 +61,10 @@ c['slavePortnum'] = slave_port
 # coalesce builds
 c['mergeRequests'] = True
 
+# Reduce amount of backlog data
+c['buildHorizon'] = 30
+c['logHorizon'] = 20
+
 ####### CHANGESOURCES
 
 home_dir = os.path.abspath(ini.get("general", "homedir"))



More information about the lede-commits mailing list