From cc9a12ebc8d15c1915ad40856046a440ff257850 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Tue, 10 Jun 2025 18:09:46 +0800 Subject: [PATCH] Remove high failure rate detection in workflow Eliminated the logic that stopped execution if favicon download failures exceeded 80% after 100 domains. The workflow will now continue processing all domains regardless of failure rate. --- .github/workflows/run.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index c19983fe9..56ac0bd30 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -157,12 +157,7 @@ jobs: error_count=$((error_count + 1)) echo "Error: Failed to download favicon for domain: $domain" fi - - # Add high failure rate detection (stop if >80% failures after 100 domains) - if [ $counter -gt 100 ] && [ $((error_count * 100 / counter)) -gt 80 ]; then - echo "Error: High failure rate detected (${error_count}/${counter}). Stopping execution." - exit 1 - fi + done < domains echo "Favicon download completed!"