evorepo/mirrors
Dan McGee 2e299273e2 mirrorcheck: record duration on file not found errors
On an HTTP 404, FTP 550, or inability to parse the lastsync file, record the
duration of the check even though we couldn't get a time from the mirror.
This allows for these checks to show up as completed but in error, which is
more what.

Previously, inability to parse the date was also recorded as a success, so
change that to be a failure and record an error message with it.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-07 08:07:03 -05:00
..
fixtures Update MirrorProtocol fixture data 2010-09-30 14:36:38 -05:00
management mirrorcheck: record duration on file not found errors 2010-10-07 08:07:03 -05:00
migrations Add is_download field to mirror protocols 2010-09-30 14:20:45 -05:00
templatetags Mirror status improvements 2010-09-30 12:47:30 -05:00
__init__.py added mirrors app from archweb_pub 2009-11-09 22:24:46 -02:00
admin.py Add is_download field to mirror protocols 2010-09-30 14:20:45 -05:00
models.py Add is_download field to mirror protocols 2010-09-30 14:20:45 -05:00
utils.py Fix an off by one error in math for check interval 2010-10-01 18:08:54 -05:00
views.py Use new is_download field 2010-09-30 14:32:54 -05:00