зеркало из https://github.com/mozilla/bugbug.git
Limit test info retrival to 3 months, as the artifact expires after 3 months now
This commit is contained in:
Родитель
6134ff622c
Коммит
3da3eb56f2
|
@ -380,7 +380,8 @@ class LandingsRiskReportGenerator(object):
|
|||
db.download(TEST_INFOS_DB)
|
||||
|
||||
dates = [
|
||||
datetime.utcnow() - timedelta(days=day) for day in reversed(range(days))
|
||||
datetime.utcnow() - timedelta(days=day)
|
||||
for day in reversed(range(min(days, 90)))
|
||||
]
|
||||
|
||||
logger.info("Get previously gathered test info...")
|
||||
|
|
Загрузка…
Ссылка в новой задаче