aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index ac18402..2ffda50 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -941,6 +941,14 @@ os.execute('sleep 1') -- Wait for things to start up before checking for them.
941 941
942 local f = 'results/curl-' .. list.out .. "-" .. host .. ".log.txt" 942 local f = 'results/curl-' .. list.out .. "-" .. host .. ".log.txt"
943 943
944 local f = 'results/curl-' .. list.out .. "-" .. host .. ".log.txt"
945 -- Should not be needed, but maybe this is why sometimes I don't see the speeds, though the file is there aand valid when I look later.
946 while not APT.checkFile(f) do
947 D('*<* About to yield coroutine while waiting on - not APT.checkFile(' .. f .. ')')
948 coroutine.yield()
949 D('*>* Resumed coroutine while waiting on - not APT.checkFile(' .. f .. ')')
950 end
951
944--[[ TODO - should try to figure out which server the file actually got downloaded from, and attribute the speed and errors to that server. 952--[[ TODO - should try to figure out which server the file actually got downloaded from, and attribute the speed and errors to that server.
945 Which means parsing the curl logs, not just a simple match(). 953 Which means parsing the curl logs, not just a simple match().
946 Watch out for misplaced ^M, they don't all come at the end of the line. 954 Watch out for misplaced ^M, they don't all come at the end of the line.