diff options
author | Dan McGee <dan@archlinux.org> | 2013-07-13 17:46:58 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-07-13 17:46:58 +0200 |
commit | b6678513858c5c4ad55082cec137e6870a22f7a4 (patch) | |
tree | 733dba91609866d4ca7f0c62589dc4f1198169d2 /feeds.py | |
parent | ffaa2cfb254a238ba0eb704115b95360305d1ae7 (diff) | |
download | archweb-b6678513858c5c4ad55082cec137e6870a22f7a4.tar.gz archweb-b6678513858c5c4ad55082cec137e6870a22f7a4.tar.xz |
Fix completion percentage calculation in mirror status
We sometimes record a duration even on a failed fetch attempt, such as
if we get an HTTP 404. However, we never record a last_sync value on a
failed fetch. Use this field instead to sum up the total number of
successful checks.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'feeds.py')
0 files changed, 0 insertions, 0 deletions