make this longer so we dont have as many 503s

This commit is contained in:
Stephen Smoogen 2018-02-23 16:51:04 +00:00
parent 49611b2e6e
commit c996069fe7

View file

@ -30,7 +30,7 @@ fi
systemctl start mirrorlist2
echo "enable server mirror-lists-backend/mirrorlist-local2" | nc -U /var/run/haproxy-admin >& /dev/null
sleep 5
sleep 40
curl -q -H mirrors.fedoraproject.org "http://localhost:18082/metalink?repo=rawhide&arch=x86_64" -o/dev/null -s -f --retry 50 --retry-delay 10 --retry-connrefused --retry-max-time 180
if [ $? != 0 ]; then
echo "ERROR: mirrorlist2 did not start correctly"