diff options
author | onefang | 2019-12-14 08:04:35 +1000 |
---|---|---|
committer | onefang | 2019-12-14 08:04:35 +1000 |
commit | 23e955a33a3a88bbc010ec20481d4c73e02955d1 (patch) | |
tree | 3fe70fcd134e81b3ddb45beec27049e6f17b5107 | |
parent | Clean up some commented out code from a previous refactor. (diff) | |
download | apt-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 '')
-rw-r--r-- | apt-panopticommon.lua | 2 |
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 = {} | |||
4 | APT.rrd = require 'rrd' | 4 | APT.rrd = require 'rrd' |
5 | 5 | ||
6 | APT.protocols = {"ftp", "http", "https", "rsync"} | 6 | APT.protocols = {"ftp", "http", "https", "rsync"} |
7 | APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'} | ||
7 | 8 | ||
8 | verbosity = -1 | 9 | verbosity = -1 |
9 | APT.origin = false | 10 | APT.origin = false |
@@ -486,7 +487,6 @@ APT.now = 0 | |||
486 | local status | 487 | local status |
487 | status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6') | 488 | status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6') |
488 | APT.now = tonumber(APT.now) | 489 | APT.now = tonumber(APT.now) |
489 | APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'} | ||
490 | local start = 'now-2week' | 490 | local start = 'now-2week' |
491 | local step = '10min' | 491 | local step = '10min' |
492 | local hb = '150min' | 492 | local hb = '150min' |