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.
This commit is contained in:
xixu-me committed 2025-06-10 18:09:46 +08:00
1 parent 2939d28e64
commit cc9a12ebc8
1 file changed
+1 -6
+1 -6
View File
@@ -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!"