Browse Source

Tweak the bandwidth limits, by not probing so many Release files.

master
onefang 3 years ago
parent
commit
8b2e1dc670
  1. 2
      apt-panopticommon.lua
  2. 2
      apt-panopticon.lua

2
apt-panopticommon.lua

@ -34,7 +34,7 @@ APT.options =
' 2 = high - Also download Packages.xz files that changed, unpack and check them.\n' ..
' Also download and check InRelease files\n.' ..
' Pick a few small packages, download them, check their SHA512.\n' ..
' 3 = more - Also pick more packages, some for each arch.\n' ..
' 3 = more - Also pick more files and packages, some for each reelase / arch.\n' ..
' 4 = all - Do absolutely everything.\n' ..
' Actually download some Contents files, and some more Packages.xz, and package files.',
value = 2,

2
apt-panopticon.lua

@ -445,7 +445,7 @@ local checkFiles = function (host, ip, path, file)
end
end
end
if 0 == APT.options.bandwidth.value then break end
if 2 >= APT.options.bandwidth.value then break end
end
if 1 <= APT.options.bandwidth.value then
for i, s in pairs(referenceDevs) do

Loading…
Cancel
Save