diff options
| author | onefang | 2019-11-05 00:03:18 +1000 |
|---|---|---|
| committer | onefang | 2019-11-05 00:03:18 +1000 |
| commit | 6162e5c9805beb261b6357b71ac1a52dd9dfd3e3 (patch) | |
| tree | c63a7a5c0c3c3efd4e1fa899b3a68903726161e5 | |
| parent | End early if the host keeps timing out, and random sleep for retries. (diff) | |
| download | apt-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.md | 4 | ||||
| -rwxr-xr-x | mirror-checker.lua | 6 |
2 files changed, 10 insertions, 0 deletions
| @@ -149,6 +149,10 @@ negative argument deselects a test. Examples are given above. | |||
| 149 | 149 | ||
| 150 | The mirror to use as a reference for the tests, the default is pkgmaster.devuan.org. | 150 | The mirror to use as a reference for the tests, the default is pkgmaster.devuan.org. |
| 151 | 151 | ||
| 152 | --roundRobin | ||
| 153 | |||
| 154 | The name of the DNS round robin domain, the default is deb.devuan.org. | ||
| 155 | |||
| 152 | -v | 156 | -v |
| 153 | 157 | ||
| 154 | Print more verbose output. Normally only CRITICAL and ERROR message sare | 158 | Print 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", |
