aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-11-05 00:03:18 +1000
committeronefang2019-11-05 00:03:18 +1000
commit6162e5c9805beb261b6357b71ac1a52dd9dfd3e3 (patch)
treec63a7a5c0c3c3efd4e1fa899b3a68903726161e5
parentEnd early if the host keeps timing out, and random sleep for retries. (diff)
downloadapt-panopticon-6162e5c9805beb261b6357b71ac1a52dd9dfd3e3.zip
apt-panopticon-6162e5c9805beb261b6357b71ac1a52dd9dfd3e3.tar.gz
apt-panopticon-6162e5c9805beb261b6357b71ac1a52dd9dfd3e3.tar.bz2
apt-panopticon-6162e5c9805beb261b6357b71ac1a52dd9dfd3e3.tar.xz
Add roundRobin as an option.
-rw-r--r--README.md4
-rwxr-xr-xmirror-checker.lua6
2 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index bb107a9..77c642d 100644
--- a/README.md
+++ b/README.md
@@ -149,6 +149,10 @@ negative argument deselects a test. Examples are given above.
149 149
150The mirror to use as a reference for the tests, the default is pkgmaster.devuan.org. 150The mirror to use as a reference for the tests, the default is pkgmaster.devuan.org.
151 151
152--roundRobin
153
154The name of the DNS round robin domain, the default is deb.devuan.org.
155
152-v 156-v
153 157
154Print more verbose output. Normally only CRITICAL and ERROR message sare 158Print more verbose output. Normally only CRITICAL and ERROR message sare
diff --git a/mirror-checker.lua b/mirror-checker.lua
index e7de781..5b8ab65 100755
--- a/mirror-checker.lua
+++ b/mirror-checker.lua
@@ -23,6 +23,12 @@ options =
23 help = "", 23 help = "",
24 value = "pkgmaster.devuan.org", 24 value = "pkgmaster.devuan.org",
25 }, 25 },
26 roundRobin =
27 {
28 typ = "string",
29 help = "",
30 value = "deb.devuan.org",
31 },
26 tests = 32 tests =
27 { 33 {
28 typ = "table", 34 typ = "table",