From fa22b9e8fd022caff1e8a901dd3970d1329777f9 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Mon, 17 Aug 2020 09:11:54 -0700 Subject: [PATCH] jobd/jobd.pl: recognize .clone_failed_exceeds_limit Do not try to fetch a clone that failed because it exceeds one (or more) of the limits. Signed-off-by: Kyle J. McKay --- jobd/jobd.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobd/jobd.pl b/jobd/jobd.pl index ce7aad1..5fb7629 100755 --- a/jobd/jobd.pl +++ b/jobd/jobd.pl @@ -67,7 +67,7 @@ sub update_project { job_skip($job, "initial mirroring not complete yet"); return; } - if (-e "$projpath/.clone_failed") { + if (-e "$projpath/.clone_failed" || -e "$projpath/.clone_failed_exceeds_limit") { job_skip($job, "initial mirroring failed"); # Still need to gc clones even if they've failed setup_gc($job); -- 2.11.4.GIT