aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2020-07-17 06:15:32 +1000
committeronefang2020-07-17 06:15:32 +1000
commit4f5e609b3ca0feaa671a4055722b09b24eacc569 (patch)
treee0405da43dcf8c7a75fe9093699c00c15f7dd7f5
parentUse the new DNSRR field from mirror_list.txt to do the correct thing. (diff)
downloadapt-panopticon-4f5e609b3ca0feaa671a4055722b09b24eacc569.zip
apt-panopticon-4f5e609b3ca0feaa671a4055722b09b24eacc569.tar.gz
apt-panopticon-4f5e609b3ca0feaa671a4055722b09b24eacc569.tar.bz2
apt-panopticon-4f5e609b3ca0feaa671a4055722b09b24eacc569.tar.xz
Quick hack to prevent RRD bitching, fix it later, meeting coming up.
-rw-r--r--apt-panopticommon.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua
index 0c06185..52159dd 100644
--- a/apt-panopticommon.lua
+++ b/apt-panopticommon.lua
@@ -804,6 +804,8 @@ APT.updateRRD = function(results, host, ip)
804end 804end
805 805
806APT.doRRD = function(l, k, v, o) 806APT.doRRD = function(l, k, v, o)
807-- Quick hack.
808if k == APT.options.roundRobin.value then return end
807 APT.collateAll(APT.mirrors, l, k, 809 APT.collateAll(APT.mirrors, l, k,
808 function(results, ip) 810 function(results, ip)
809 APT.createRRD(k, ip, o) 811 APT.createRRD(k, ip, o)