From 712f54797f06db2c07af29a15a08ea05047a5548 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 20 Nov 2020 02:55:45 +0200 Subject: [PATCH] db update: reduce retry delay to 1 second and set amount to 3 --- whatprovides | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whatprovides b/whatprovides index 00ec94c..71fc6ff 100755 --- a/whatprovides +++ b/whatprovides @@ -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