diff options
author | onefang | 2019-12-25 23:10:41 +1000 |
---|---|---|
committer | onefang | 2019-12-25 23:10:41 +1000 |
commit | 29404bb3af9481242e7440eb1447e4c0b5b1e543 (patch) | |
tree | f56d849893f43f46b59fb30baf9e4342813501ee | |
parent | Use proper time and date format, and check for the directory before tarballin... (diff) | |
download | apt-panopticon-29404bb3af9481242e7440eb1447e4c0b5b1e543.zip apt-panopticon-29404bb3af9481242e7440eb1447e4c0b5b1e543.tar.gz apt-panopticon-29404bb3af9481242e7440eb1447e4c0b5b1e543.tar.bz2 apt-panopticon-29404bb3af9481242e7440eb1447e4c0b5b1e543.tar.xz |
TODO++
-rwxr-xr-x | apt-panopticon.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index ba5c064..72ac6ae 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -858,6 +858,7 @@ os.execute('sleep 1') -- Wait for things to start up before checking for them. | |||
858 | end | 858 | end |
859 | D('*>* Resumed coroutine NO LONGER waiting on - 0 < APT.checkExes(' .. downloadLock .. list.out .. '-' .. host .. '.log.txt') | 859 | D('*>* Resumed coroutine NO LONGER waiting on - 0 < APT.checkExes(' .. downloadLock .. list.out .. '-' .. host .. '.log.txt') |
860 | 860 | ||
861 | -- TODO - should try to figure out which server the file actually got downloaded from, and attribute the speed to that server. | ||
861 | local min, max, spd = 999999999999, 0 | 862 | local min, max, spd = 999999999999, 0 |
862 | if APT.checkFile("results/curl-" .. list.out .. "-" .. host .. ".log.txt") then | 863 | if APT.checkFile("results/curl-" .. list.out .. "-" .. host .. ".log.txt") then |
863 | for l in io.lines("results/curl-" .. list.out .. "-" .. host .. ".log.txt") do | 864 | for l in io.lines("results/curl-" .. list.out .. "-" .. host .. ".log.txt") do |