diff options
author | Christian Hesse <mail@eworm.de> | 2024-03-26 08:37:07 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-03-26 08:37:07 +0100 |
commit | 9ec8b9c03fbd5529eee0d62417d5de8ffc72abd4 (patch) | |
tree | 3c8a5915f1d362506d8e9b740226e834175d5b44 /fw-addr-lists.rsc | |
parent | f72aadfc591ece4c79522256e5b6a4d71fb18467 (diff) |
fw-addr-lists: one more interation on download failure...
... with even more delay. This script is called with long interval from
scheduler, so should not be an issue.
Diffstat (limited to 'fw-addr-lists.rsc')
-rw-r--r-- | fw-addr-lists.rsc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fw-addr-lists.rsc b/fw-addr-lists.rsc index 3a422e8..887263e 100644 --- a/fw-addr-lists.rsc +++ b/fw-addr-lists.rsc @@ -61,13 +61,13 @@ } } - :for I from=1 to=4 do={ + :for I from=1 to=5 do={ :if ($Data = false) do={ :do { :set Data ([ /tool/fetch check-certificate=$CheckCertificate output=user \ http-header-field=({ [ $FetchUserAgent $ScriptName ] }) ($List->"url") as-value ]->"data"); } on-error={ - :if ($I < 4) do={ + :if ($I < 5) do={ $LogPrint debug $ScriptName ("Failed downloading, " . $I . ". try: " . $List->"url"); :delay (($I * $I) . "s"); } |