Skip to content

Commit

Permalink
Work around incorrect big status
Browse files Browse the repository at this point in the history
This just calls updateBigStatus every 30m, which should at least keep
things in a consistent state long-term.  Refs #1980.
  • Loading branch information
djmitche committed May 8, 2012
1 parent 432a3af commit 445c7e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions master/buildbot/process/builder.py
Expand Up @@ -64,6 +64,11 @@ def __init__(self, name):
self.reclaim_svc = internet.TimerService(10*60, self.reclaimAllBuilds)
self.reclaim_svc.setServiceParent(self)

# update big status every 30 minutes, working around #1980
self.updateStatusService = internet.TimerService(30*60,
self.updateBigStatus)
self.updateStatusService.setServiceParent(self)

def reconfigService(self, new_config):
# find this builder in the config
for builder_config in new_config.builders:
Expand Down

0 comments on commit 445c7e9

Please sign in to comment.