Commit 399c1f90 authored by Holger Levsen's avatar Holger Levsen

reproducible Archlinux: reduce mindate for rescheduling to 10d

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent fec6148c
......@@ -172,7 +172,7 @@ update_archlinux_repositories() {
echo "$(date -u ) - should we schedule old packages?"
MAX=350
local THRESHOLD=450
MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "14 days ago")
MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "10 days ago")
SCHDATE=$(date -u +"%Y-%m-%d %H:%M" -d "7 days")
local CURRENT=$(query_db "SELECT count(*) FROM sources AS s JOIN schedule AS sch ON s.id=sch.package_id WHERE s.architecture='x86_64' AND sch.date_build_started IS NULL;")
if [ $CURRENT -le $THRESHOLD ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment