Limit test info retrival to 3 months, as the artifact expires after 3 months now

This commit is contained in:
Marco Castelluccio 2024-10-17 15:55:04 +02:00
Родитель 6134ff622c
Коммит 3da3eb56f2
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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...")