From d12210482c3ebc0b69d9c3175fe27666859ddab9 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 10 Jun 2017 12:27:37 +0200 Subject: reproducible Debian: reschedule 404 packages after 12h Signed-off-by: Holger Levsen --- bin/reproducible_scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index b976f1bb..89b92524 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -517,9 +517,9 @@ def query_old_versions(suite, arch, limit): return packages def query_404_versions(suite, arch, limit): - criteria = """tested at least a day ago, status 404, + criteria = """tested at least 12h ago, status 404, sorted by last build date""" - date = (datetime.now()-timedelta(days=1)).strftime('%Y-%m-%d %H:%M') + date = (datetime.now()-timedelta(days=0.5)).strftime('%Y-%m-%d %H:%M') query = """SELECT s.id, s.name, max(r.build_date) max_date FROM sources AS s JOIN results AS r ON s.id = r.package_id WHERE s.suite='{suite}' AND s.architecture='{arch}' -- cgit v1.2.3-70-g09d2