[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] Revert "reproducible Arch Linux: allow scheduling of many more old/depwait/404...

Holger Levsen gitlab at salsa.debian.org
Thu Sep 10 17:53:45 BST 2020



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
3c5118a3 by Holger Levsen at 2020-09-10T18:53:32+02:00
Revert "reproducible Arch Linux: allow scheduling of many more old/depwait/404 packages to catch up on backlog"

This reverts commit 2ca91549e36b321f44c9e76f7940773c1b6baae8.

- - - - -


1 changed file:

- bin/reproducible_archlinux_scheduler.sh


Changes:

=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -158,7 +158,7 @@ update_archlinux_repositories() {
 	# (which have been tried at least 16h ago)
 	#
 	echo "$(date -u ) - should we schedule packages in DEPWAIT_ or 404_ states?"
-	local MAX=3500
+	local MAX=350
 	local MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "16 hours ago")
 	local SCHDATE=$(date -u +"%Y-%m-%d %H:%M" -d "7 days")
 	QUERY="SELECT s.id FROM sources AS s
@@ -185,8 +185,8 @@ update_archlinux_repositories() {
 	# (only if less than $THRESHOLD packages are currently scheduled)
 	#
 	echo "$(date -u ) - should we schedule old packages?"
-	MAX=5001
-	local THRESHOLD=6000
+	MAX=501
+	local THRESHOLD=600
 	MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "4 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 build_type='ci_build' AND s.distribution=$DISTROID AND s.architecture='x86_64' AND sch.date_build_started IS NULL;")



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/3c5118a3950f0aad3f0863850e5473216c4c947e

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/3c5118a3950f0aad3f0863850e5473216c4c947e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200910/037e9f4d/attachment.html>


More information about the Qa-jenkins-scm mailing list