diff options
| author | onefang | 2019-12-11 02:56:51 +1000 |
|---|---|---|
| committer | onefang | 2019-12-11 02:56:51 +1000 |
| commit | 9c5ff7cdd38e1b7218421f9a6e1ecea810edcfd4 (patch) | |
| tree | 3120c24f5662ce64feb26d6ad090855b05f93a38 | |
| parent | More info for package size mismatches. (diff) | |
| download | apt-panopticon-9c5ff7cdd38e1b7218421f9a6e1ecea810edcfd4.zip apt-panopticon-9c5ff7cdd38e1b7218421f9a6e1ecea810edcfd4.tar.gz apt-panopticon-9c5ff7cdd38e1b7218421f9a6e1ecea810edcfd4.tar.bz2 apt-panopticon-9c5ff7cdd38e1b7218421f9a6e1ecea810edcfd4.tar.xz | |
Detect timeouts for actually downloaded files as well.
| -rwxr-xr-x | apt-panopticon.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index dd0ad58..2c0b86e 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
| @@ -805,6 +805,10 @@ if 0 < #arg then | |||
| 805 | if crrnt < min and crrnt ~= 0 then min = crrnt end | 805 | if crrnt < min and crrnt ~= 0 then min = crrnt end |
| 806 | if crrnt > max then max = crrnt end | 806 | if crrnt > max then max = crrnt end |
| 807 | end | 807 | end |
| 808 | if l:find('timed out') ~= nil then | ||
| 809 | E(" TIMEOUT " .. timeouts + 1 .. ', details in curl-' .. mt .. '-' .. pu.host .. '.log', 'http', '', pu.host) | ||
| 810 | timeouts = timeouts + 1 | ||
| 811 | end | ||
| 808 | end | 812 | end |
| 809 | end | 813 | end |
| 810 | end | 814 | end |
