Change the syncHttp timeout to 2h max, comment out the misbehaving proxy09
This commit is contained in:
parent
721e3e9864
commit
be40017d00
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ function syncHttpLogs {
|
||||||
echo "${HOST}: Getting ${RSYNC_OUTPUT} and saving to ${DEST}"
|
echo "${HOST}: Getting ${RSYNC_OUTPUT} and saving to ${DEST}"
|
||||||
fi
|
fi
|
||||||
for i in 2 1 0; do
|
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
|
if [[ $? -ne 0 ]]; then
|
||||||
echo "rsync from $HOST for file $f failed, will repeat $i times"
|
echo "rsync from $HOST for file $f failed, will repeat $i times"
|
||||||
fi
|
fi
|
||||||
|
@ -43,7 +43,7 @@ syncHttpLogs proxy04.vpn.fedoraproject.org
|
||||||
syncHttpLogs proxy05.vpn.fedoraproject.org
|
syncHttpLogs proxy05.vpn.fedoraproject.org
|
||||||
syncHttpLogs proxy06.vpn.fedoraproject.org
|
syncHttpLogs proxy06.vpn.fedoraproject.org
|
||||||
# syncHttpLogs proxy08.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 proxy10.iad2.fedoraproject.org
|
||||||
syncHttpLogs proxy11.vpn.fedoraproject.org
|
syncHttpLogs proxy11.vpn.fedoraproject.org
|
||||||
syncHttpLogs proxy12.vpn.fedoraproject.org
|
syncHttpLogs proxy12.vpn.fedoraproject.org
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue