зеркало из https://github.com/mozilla/treeherder.git
Bug 1700327 - Properly notify when backfill bot goes to sleep
This commit is contained in:
Родитель
8a4e98588d
Коммит
2183d6720e
|
@ -105,7 +105,7 @@ class PerfSheriffBot:
|
|||
|
||||
self.secretary.consume_backfills('linux', total_consumed)
|
||||
logger.info('Perfsheriff bot: consumed %s backfills for linux', total_consumed)
|
||||
logger.debug(f'{self.__class__.__name__} has {left} backfills left.')
|
||||
logger.debug(f'Perfsheriff bot: Having {left} backfills left.')
|
||||
|
||||
@staticmethod
|
||||
def __fetch_records_requiring_backfills() -> QuerySet:
|
||||
|
|
|
@ -54,7 +54,8 @@ class Command(BaseCommand):
|
|||
perf_sheriff_bot.sheriff(since, frameworks, repositories)
|
||||
except MaxRuntimeExceeded as ex:
|
||||
logging.info(ex)
|
||||
logging.info('PerfSheriffBot went back to sleep')
|
||||
|
||||
logging.info("Perfsheriff bot: Going back to sleep")
|
||||
|
||||
def _parse_args(self, **options) -> Tuple[List, List, datetime, timedelta]:
|
||||
return (
|
||||
|
|
Загрузка…
Ссылка в новой задаче