diff options
author | onefang | 2020-01-01 14:36:17 +1000 |
---|---|---|
committer | onefang | 2020-01-01 14:36:17 +1000 |
commit | 8b2e1dc6709ec83884c7db1e56a7834f4863fe29 (patch) | |
tree | 840f6182b52f328839be37bc3cbea5ee8dfa77dd /apt-panopticon.lua | |
parent | Leave a log of the HEAD probe details. (diff) | |
download | apt-panopticon-8b2e1dc6709ec83884c7db1e56a7834f4863fe29.zip apt-panopticon-8b2e1dc6709ec83884c7db1e56a7834f4863fe29.tar.gz apt-panopticon-8b2e1dc6709ec83884c7db1e56a7834f4863fe29.tar.bz2 apt-panopticon-8b2e1dc6709ec83884c7db1e56a7834f4863fe29.tar.xz |
Tweak the bandwidth limits, by not probing so many Release files.
Diffstat (limited to 'apt-panopticon.lua')
-rwxr-xr-x | apt-panopticon.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
445 | end | 445 | end |
446 | end | 446 | end |
447 | end | 447 | end |
448 | if 0 == APT.options.bandwidth.value then break end | 448 | if 2 >= APT.options.bandwidth.value then break end |
449 | end | 449 | end |
450 | if 1 <= APT.options.bandwidth.value then | 450 | if 1 <= APT.options.bandwidth.value then |
451 | for i, s in pairs(referenceDevs) do | 451 | for i, s in pairs(referenceDevs) do |