aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-12-23 13:01:55 +1000
committeronefang2019-12-23 13:01:55 +1000
commit4615f9e4761c6932bc7496ca1d0a9c8066ef79e1 (patch)
treebc75b295927d4dd180ce8b0567f9d81819aaf5b1
parentMajor refactor, especially of the downloading and processing code. (diff)
downloadapt-panopticon-4615f9e4761c6932bc7496ca1d0a9c8066ef79e1.zip
apt-panopticon-4615f9e4761c6932bc7496ca1d0a9c8066ef79e1.tar.gz
apt-panopticon-4615f9e4761c6932bc7496ca1d0a9c8066ef79e1.tar.bz2
apt-panopticon-4615f9e4761c6932bc7496ca1d0a9c8066ef79e1.tar.xz
Some more timeout tweaks.
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index 4e4be94..019da1d 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -287,9 +287,9 @@ checkHEAD = function (host, URL, r, retry, sanity)
287 end 287 end
288 if ("28" == status) or ("7" == status) then 288 if ("28" == status) or ("7" == status) then
289 if sanity then 289 if sanity then
290 E(" TIMEOUT " .. timeouts + 1 .. ", retry " .. retry + 1, PU.scheme, "URLSanity", host) 290 T(" TIMEOUT " .. timeouts + 1 .. ", retry " .. retry + 1, PU.scheme, "URLSanity", host)
291 else 291 else
292 E(" TIMEOUT " .. timeouts + 1 .. ", retry " .. retry + 1, PU.scheme, "", host) 292 T(" TIMEOUT " .. timeouts + 1 .. ", retry " .. retry + 1, PU.scheme, "", host)
293 end 293 end
294 timeouts = timeouts + 1 294 timeouts = timeouts + 1
295 end 295 end