aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2020-01-01 19:02:00 +1000
committeronefang2020-01-01 19:02:00 +1000
commit382786ddef416cbfbc10904ea026d39c2b799489 (patch)
treea44debd90ccbeb4fd0a780766f1d6537de4e77e9
parentTweak the bandwidth limits, by not probing so many Release files. (diff)
downloadapt-panopticon-382786ddef416cbfbc10904ea026d39c2b799489.zip
apt-panopticon-382786ddef416cbfbc10904ea026d39c2b799489.tar.gz
apt-panopticon-382786ddef416cbfbc10904ea026d39c2b799489.tar.bz2
apt-panopticon-382786ddef416cbfbc10904ea026d39c2b799489.tar.xz
Cut down on lower bandwidth files to HEAD check.
Doesn't really save much on bandwidth, but does save on time, which is the other reason for the low bandwidth variations.
-rwxr-xr-xapt-panopticon.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index b6a6218..aa089b1 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -444,6 +444,7 @@ local checkFiles = function (host, ip, path, file)
444 break 444 break
445 end 445 end
446 end 446 end
447 if 2 >= APT.options.bandwidth.value then break end
447 end 448 end
448 if 2 >= APT.options.bandwidth.value then break end 449 if 2 >= APT.options.bandwidth.value then break end
449 end 450 end