db update: reduce retry delay to 1 second and set amount to 3
This commit is contained in:
parent
fb6a7e0e3b
commit
712f54797f
|
@ -27,7 +27,7 @@ update_database() {
|
||||||
|
|
||||||
echo "[*] Downloading the new database..."
|
echo "[*] Downloading the new database..."
|
||||||
echo
|
echo
|
||||||
curl --fail --retry 5 --retry-connrefused --retry-delay 5 --location \
|
curl --fail --retry 3 --retry-connrefused --retry-delay 1 --location \
|
||||||
--output "${DB_PATH}.gz" "${DB_UPDATES_URL}"
|
--output "${DB_PATH}.gz" "${DB_UPDATES_URL}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue