aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xapt-panopticon.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index ea964ec..ef16ecc 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -936,11 +936,11 @@ os.execute('sleep 1') -- Wait for things to start up before checking for them.
936 936
937 -- Should not be needed, but maybe this is why sometimes I don't see the speeds, though the file is there when I look later. 937 -- Should not be needed, but maybe this is why sometimes I don't see the speeds, though the file is there when I look later.
938 local f = 'results/curl-' .. list.out .. "-" .. host .. ".log.txt" 938 local f = 'results/curl-' .. list.out .. "-" .. host .. ".log.txt"
939 while not APT.checkFile(f) do 939-- while not APT.checkFile(f) do
940 D('*<* About to yield coroutine while waiting on - not APT.checkFile(' .. f .. ')') 940-- D('*<* About to yield coroutine while waiting on - not APT.checkFile(' .. f .. ')')
941 coroutine.yield() 941-- coroutine.yield()
942 D('*>* Resumed coroutine while waiting on - not APT.checkFile(' .. f .. ')') 942-- D('*>* Resumed coroutine while waiting on - not APT.checkFile(' .. f .. ')')
943 end 943-- end
944 944
945--[[ TODO - should try to figure out which server the file actually got downloaded from, and attribute the speed and errors to that server. 945--[[ TODO - should try to figure out which server the file actually got downloaded from, and attribute the speed and errors to that server.
946 Which means parsing the curl logs, not just a simple match(). 946 Which means parsing the curl logs, not just a simple match().