From 1f3c0941e12ec8d59fdabcb7400b588b97ccdd82 Mon Sep 17 00:00:00 2001 From: onefang Date: Mon, 4 Nov 2019 21:19:21 +1000 Subject: Reduce the check exes wait time. --- mirror-checker.lua | 4 ++-- 1 file 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 checkExes("mirror-checker.lua " .. sendArgs) if testing("Integrity") or testing("Updated") then checkExes(downloadLock) end end - while 1 <= checkExes("mirror-checker.lua " .. sendArgs) do os.execute("sleep 30") end + while 1 <= checkExes("mirror-checker.lua " .. sendArgs) do os.execute("sleep 10") end if testing("Integrity") or testing("Updated") then - while 0 < checkExes(downloadLock) do os.execute("sleep 30") end + while 0 < checkExes(downloadLock) do os.execute("sleep 10") end end os.execute("rm -f results/*.check") logFile:close() -- cgit v1.1