db update: reduce retry delay to 1 second and set amount to 3

This commit is contained in:
Leonid Pliushch 2020-11-20 02:55:45 +02:00
parent fb6a7e0e3b
commit 712f54797f
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ update_database() {
echo "[*] Downloading the new database..."
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}"
echo