From 8b2e1dc6709ec83884c7db1e56a7834f4863fe29 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 1 Jan 2020 14:36:17 +1000 Subject: Tweak the bandwidth limits, by not probing so many Release files. --- apt-panopticommon.lua | 2 +- apt-panopticon.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index c03f817..e40ec0a 100644 --- a/apt-panopticommon.lua +++ b/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, diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 3834ced..b6a6218 100755 --- a/apt-panopticon.lua +++ b/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 -- cgit v1.1