mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
Change the syncHttp timeout to 2h max, comment out the misbehaving proxy09
This commit is contained in:
@@ -27,7 +27,7 @@ function syncHttpLogs {
|
||||
echo "${HOST}: Getting ${RSYNC_OUTPUT} and saving to ${DEST}"
|
||||
fi
|
||||
for i in 2 1 0; do
|
||||
timeout 12h /usr/bin/rsync $RSYNC_FLAGS $HOST::log/httpd/$f ./$DEST &> /dev/null && break
|
||||
timeout 2h /usr/bin/rsync $RSYNC_FLAGS $HOST::log/httpd/$f ./$DEST &> /dev/null && break
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "rsync from $HOST for file $f failed, will repeat $i times"
|
||||
fi
|
||||
@@ -43,7 +43,7 @@ syncHttpLogs proxy04.vpn.fedoraproject.org
|
||||
syncHttpLogs proxy05.vpn.fedoraproject.org
|
||||
syncHttpLogs proxy06.vpn.fedoraproject.org
|
||||
# syncHttpLogs proxy08.vpn.fedoraproject.org
|
||||
syncHttpLogs proxy09.vpn.fedoraproject.org
|
||||
# syncHttpLogs proxy09.vpn.fedoraproject.org # proxy09 is acting up
|
||||
syncHttpLogs proxy10.iad2.fedoraproject.org
|
||||
syncHttpLogs proxy11.vpn.fedoraproject.org
|
||||
syncHttpLogs proxy12.vpn.fedoraproject.org
|
||||
|
||||
Reference in New Issue
Block a user