aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2020-01-02 17:24:09 +1000
committeronefang2020-01-02 17:24:09 +1000
commit99cb8927fe9177d366b7c03e4e38a7bfe15bef56 (patch)
tree86334094738f5c3bfaadeb2d5bee7a3723b54368
parentCurl uses k and M to mean 1024, not 1000. (diff)
downloadapt-panopticon-99cb8927fe9177d366b7c03e4e38a7bfe15bef56.zip
apt-panopticon-99cb8927fe9177d366b7c03e4e38a7bfe15bef56.tar.gz
apt-panopticon-99cb8927fe9177d366b7c03e4e38a7bfe15bef56.tar.bz2
apt-panopticon-99cb8927fe9177d366b7c03e4e38a7bfe15bef56.tar.xz
Comment out previous attempts to fix the missing speed issue.
-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().