diff options
author | onefang | 2019-11-04 21:19:21 +1000 |
---|---|---|
committer | onefang | 2019-11-04 21:19:21 +1000 |
commit | 1f3c0941e12ec8d59fdabcb7400b588b97ccdd82 (patch) | |
tree | 78d3aae70533c8682c555cb77f143c2178210078 | |
parent | Oops, remove left overs. (diff) | |
download | apt-panopticon-1f3c0941e12ec8d59fdabcb7400b588b97ccdd82.zip apt-panopticon-1f3c0941e12ec8d59fdabcb7400b588b97ccdd82.tar.gz apt-panopticon-1f3c0941e12ec8d59fdabcb7400b588b97ccdd82.tar.bz2 apt-panopticon-1f3c0941e12ec8d59fdabcb7400b588b97ccdd82.tar.xz |
Reduce the check exes wait time.
-rwxr-xr-x | mirror-checker.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mirror-checker.lua b/mirror-checker.lua index 6ffbad9..69dd9e8 100755 --- a/mirror-checker.lua +++ b/mirror-checker.lua | |||
@@ -560,9 +560,9 @@ else | |||
560 | checkExes("mirror-checker.lua " .. sendArgs) | 560 | checkExes("mirror-checker.lua " .. sendArgs) |
561 | if testing("Integrity") or testing("Updated") then checkExes(downloadLock) end | 561 | if testing("Integrity") or testing("Updated") then checkExes(downloadLock) end |
562 | end | 562 | end |
563 | while 1 <= checkExes("mirror-checker.lua " .. sendArgs) do os.execute("sleep 30") end | 563 | while 1 <= checkExes("mirror-checker.lua " .. sendArgs) do os.execute("sleep 10") end |
564 | if testing("Integrity") or testing("Updated") then | 564 | if testing("Integrity") or testing("Updated") then |
565 | while 0 < checkExes(downloadLock) do os.execute("sleep 30") end | 565 | while 0 < checkExes(downloadLock) do os.execute("sleep 10") end |
566 | end | 566 | end |
567 | os.execute("rm -f results/*.check") | 567 | os.execute("rm -f results/*.check") |
568 | logFile:close() | 568 | logFile:close() |