From 99cb8927fe9177d366b7c03e4e38a7bfe15bef56 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 2 Jan 2020 17:24:09 +1000 Subject: Comment out previous attempts to fix the missing speed issue. --- apt-panopticon.lua | 10 +++++----- 1 file 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. -- 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. local f = 'results/curl-' .. list.out .. "-" .. host .. ".log.txt" - while not APT.checkFile(f) do - D('*<* About to yield coroutine while waiting on - not APT.checkFile(' .. f .. ')') - coroutine.yield() - D('*>* Resumed coroutine while waiting on - not APT.checkFile(' .. f .. ')') - end +-- while not APT.checkFile(f) do +-- D('*<* About to yield coroutine while waiting on - not APT.checkFile(' .. f .. ')') +-- coroutine.yield() +-- D('*>* Resumed coroutine while waiting on - not APT.checkFile(' .. f .. ')') +-- end --[[ TODO - should try to figure out which server the file actually got downloaded from, and attribute the speed and errors to that server. Which means parsing the curl logs, not just a simple match(). -- cgit v1.1