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:
1 parent
c07a5ffa42
commit
7a4c053537
1 file changed
+1
-6
@@ -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!"
|
||||
|
||||
Reference in new issue
Block a user