Update buildbot.tac

This commit is contained in:
Andrei Yankovich 2020-12-04 09:33:28 +03:00 committed by GitHub
parent 1293829b68
commit 78c1aa160d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ import os
from twisted.application import service
from buildbot.master import BuildMaster
basedir = '/home/andrei/bot/master'
basedir = os.path.dirname(os.path.realpath(__file__))
rotateLength = 10000000
maxRotatedFiles = 10
configfile = 'master.cfg'
@ -27,4 +27,4 @@ application.setComponent(ILogObserver, FileLogObserver(logfile).emit)
m = BuildMaster(basedir, configfile, umask)
m.setServiceParent(application)
m.log_rotation.rotateLength = rotateLength
m.log_rotation.maxRotatedFiles = maxRotatedFiles
m.log_rotation.maxRotatedFiles = maxRotatedFiles