From 0db3900e711833b3f3b5da5b787ab7d2a0a05dbb Mon Sep 17 00:00:00 2001 From: Michael Maltsev <4129781+m417z@users.noreply.github.com> Date: Wed, 16 Oct 2024 12:09:27 +0300 Subject: [PATCH] Temporarily limit VirusTotal deploy to 15 minutes --- data/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/deploy.py b/data/deploy.py index 276e4bed01db..af877e09c4b9 100644 --- a/data/deploy.py +++ b/data/deploy.py @@ -195,7 +195,7 @@ def start_pymultitor(args): def run_virustotal_updates(): # GitHub Actions has a 6 hour limit, so stop 10 minutes before that. - time_to_stop = min(datetime.now() + timedelta(minutes=60), deploy_start_time + timedelta(hours=6, minutes=-10)) + time_to_stop = min(datetime.now() + timedelta(minutes=15), deploy_start_time + timedelta(hours=6, minutes=-10)) if datetime.now() >= time_to_stop: return None