]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 18:05:03 04.05.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Mon, 4 May 2026 15:05:04 +0000 (18:05 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Mon, 4 May 2026 15:05:04 +0000 (18:05 +0300)
html/AM-FwAddrLists.rsc
html/AM-GlobalFunc.rsc

index 74f02bb8532d0c8abb1f585fd328153b19d4695f..bcdf6946ac22341a83a8fcb37df6ad46b3eff2ce 100644 (file)
@@ -22,7 +22,7 @@
 
   :global CertificateAvailable;
   :global EitherOr;
-  :global FetchLargeFiles;
+  :global FetchHugeFiles;
   :global HumanReadableNum;
   :global IfThenElse;
   :global LogPrint;
@@ -55,7 +55,7 @@
 
   :for I from=1 to=5 do={
     :if ($tmpIndex = false) do={
-      :set tmpIndex [ :tolf [ $FetchLargeFiles $ScriptName $FwAddrListsUrl $Index $CheckCerts ] ];
+      :set tmpIndex [ :tolf [ $FetchHugeFiles $ScriptName $FwAddrListsUrl $Index $CheckCerts ] ];
       :if ($tmpIndex = false && $I < 5) do={
         :log warning ($ScriptName . " Failed downloading address-list index, " . $I . ". try from: " . $FwAddrListsUrl . $Index);
         :delay (($I * $I) . "s");
@@ -90,7 +90,7 @@
 
     :for I from=1 to=5 do={
       :if ($Data = false) do={
-        :set Data [ :tolf [ $FetchLargeFiles $ScriptName $FwAddrListsUrl $FwListName $CheckCerts ] ];
+        :set Data [ :tolf [ $FetchHugeFiles $ScriptName $FwAddrListsUrl $FwListName $CheckCerts ] ];
         :if ($Data = false && $I < 5) do={
           :log warning ($ScriptName . " Failed downloading for list '" . $FwListName . "', " . $I . ". try from: " . $FwAddrListsUrl . $FwListName);
           :delay (($I * $I) . "s");
index 8dd35ba8f479a2ed8f0f9ff09a321b7c1aa1e5a8..fab2a46ee5797363658bc248eec10de9914588a0 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/579/0878acaa";
+:global CommitId "main/580/082ed3d4";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 18:00:03 04.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 18:05:03 04.05.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 140;
 :global ExitError;
 :global ExitOnError;
 :global FetchLargeFiles;
-:global FetchHuge;
+:global FetchHugeFiles;
 :global FetchUserAgentStr;
 :global CertificateAvailable;
 :global CertificateDownload;
   :return $Return;
 }
 
-# fetch huge data to file, read in chunks
-:set FetchHuge do={
+:set FetchHugeFiles do={
   :local ScriptName [ :tostr $1 ];
   :local Url        [ :tostr $2 ];
   :local CheckCert  [ :tostr $3 ];
   :return $Return;
 }
 
-
 :set FetchUserAgentStr do={
   :local Caller [ :tostr $1 ];
-
   :global GlobalScriptsUrl;
   :global CommitBrief;
   :global IfThenElse;