mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-11-22 04:50:41 +08:00
UPDATE_INTERVAL is in mins, not seconds
This commit is contained in:
parent
081216660e
commit
85551c0265
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class jobsManager:
|
|||
'''
|
||||
if not self.__buildjobs:
|
||||
# This part check for updates
|
||||
if time() - self.last_updatecheck <= UPDATE_INTERVAL:
|
||||
if time() - self.last_updatecheck <= UPDATE_INTERVAL * 60:
|
||||
if not self.idle:
|
||||
logger.info('Buildbot is idling for package updates.')
|
||||
self.idle = True
|
||||
|
|
Loading…
Reference in a new issue