Max 10 Seconds for Geo Database for Webalizer

This commit is contained in:
earnolmartin 2021-08-16 09:05:22 -06:00
parent 82f4c410e9
commit 16eeab86c0
2 changed files with 2 additions and 2 deletions

View file

@ -3265,7 +3265,7 @@ function updateWebalizerGeoDBFile(){
fi
# Download the latest GEO DB
wget --tries=2 -O "webalizer-geodb-latest.tgz" -N "ftp://ftp.mrunix.net/pub/webalizer/webalizer-geodb-latest.tgz"
wget --timeout=10 --tries=2 -O "webalizer-geodb-latest.tgz" -N "ftp://ftp.mrunix.net/pub/webalizer/webalizer-geodb-latest.tgz"
# If mirror isn't online, then use our local copy
if [ $? -ne 0 ] || [ ! -s "webalizer-geodb-latest.tgz" ]; then

View file

@ -2953,7 +2953,7 @@ function updateWebalizerGeoDBFile(){
fi
# Download the latest GEO DB
wget --tries=2 -O "webalizer-geodb-latest.tgz" -N "ftp://ftp.mrunix.net/pub/webalizer/webalizer-geodb-latest.tgz"
wget --timeout=10 --tries=2 -O "webalizer-geodb-latest.tgz" -N "ftp://ftp.mrunix.net/pub/webalizer/webalizer-geodb-latest.tgz"
# If mirror isn't online, then use our local copy
if [ $? -ne 0 ] || [ ! -s "webalizer-geodb-latest.tgz" ]; then