diff options
| author | onefang | 2019-12-12 17:21:59 +1000 |
|---|---|---|
| committer | onefang | 2019-12-12 17:21:59 +1000 |
| commit | ad9b1c6abab735956e44387f3f1b796e476c6d0e (patch) | |
| tree | 5e817efeda4e7d206646cef0b5f1905e1736cf41 | |
| parent | Attempt to clean up after mirrors timeout. (diff) | |
| download | apt-panopticon-ad9b1c6abab735956e44387f3f1b796e476c6d0e.zip apt-panopticon-ad9b1c6abab735956e44387f3f1b796e476c6d0e.tar.gz apt-panopticon-ad9b1c6abab735956e44387f3f1b796e476c6d0e.tar.bz2 apt-panopticon-ad9b1c6abab735956e44387f3f1b796e476c6d0e.tar.xz | |
Count curl full download timeouts.
| -rwxr-xr-x | apt-panopticon.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 33d1ef3..77cec08 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
| @@ -802,6 +802,7 @@ if 0 < #arg then | |||
| 802 | if l:find('timed out') ~= nil then | 802 | if l:find('timed out') ~= nil then |
| 803 | E(" TIMEOUT " .. timeouts + 1 .. ', details in curl-' .. mt .. '-' .. pu.host .. '.log', 'http', '', pu.host) | 803 | E(" TIMEOUT " .. timeouts + 1 .. ', details in curl-' .. mt .. '-' .. pu.host .. '.log', 'http', '', pu.host) |
| 804 | timeouts = timeouts + 1 | 804 | timeouts = timeouts + 1 |
| 805 | APT.results["timeout"] = true | ||
| 805 | end | 806 | end |
| 806 | end | 807 | end |
| 807 | end | 808 | end |
