aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticommon.lua
diff options
context:
space:
mode:
authoronefang2019-12-14 08:04:35 +1000
committeronefang2019-12-14 08:04:35 +1000
commit23e955a33a3a88bbc010ec20481d4c73e02955d1 (patch)
tree3fe70fcd134e81b3ddb45beec27049e6f17b5107 /apt-panopticommon.lua
parentClean up some commented out code from a previous refactor. (diff)
downloadapt-panopticon-23e955a33a3a88bbc010ec20481d4c73e02955d1.zip
apt-panopticon-23e955a33a3a88bbc010ec20481d4c73e02955d1.tar.gz
apt-panopticon-23e955a33a3a88bbc010ec20481d4c73e02955d1.tar.bz2
apt-panopticon-23e955a33a3a88bbc010ec20481d4c73e02955d1.tar.xz
Move the declaration of the APT.tests table to where APT.protocols is.
Diffstat (limited to 'apt-panopticommon.lua')
-rw-r--r--apt-panopticommon.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua
index 22354f3..8d6de05 100644
--- a/apt-panopticommon.lua
+++ b/apt-panopticommon.lua
@@ -4,6 +4,7 @@ local APT = {}
4APT.rrd = require 'rrd' 4APT.rrd = require 'rrd'
5 5
6APT.protocols = {"ftp", "http", "https", "rsync"} 6APT.protocols = {"ftp", "http", "https", "rsync"}
7APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'}
7 8
8verbosity = -1 9verbosity = -1
9APT.origin = false 10APT.origin = false
@@ -486,7 +487,6 @@ APT.now = 0
486local status 487local status
487status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6') 488status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6')
488APT.now = tonumber(APT.now) 489APT.now = tonumber(APT.now)
489APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'}
490local start = 'now-2week' 490local start = 'now-2week'
491local step = '10min' 491local step = '10min'
492local hb = '150min' 492local hb = '150min'