diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-22 13:28:12 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-22 13:28:12 -0500 |
commit | 0dba93a9fc87d06cfb1e63e9f6a28f589819c38f (patch) | |
tree | 987381f5d896565680198a84a994a9a426b5c966 /mirrors/views.py | |
parent | 550ef2eeeb58a3899b612bf5f895b2ae962086a9 (diff) |
Switch mirror status delay display to average delayrelease_2010-09-22
This takes a bit more work to compute, but since we cache all of this anyway
it isn't too big of deal. Using average delay instead of last delay will be
a bit more fair on mirrors that have odd syncing schedules, as well as
exposing those that only sync once a day. Also fix an issue that will arise
with cutoff_time being calculated once, and adjust mirror score to treat
hours delay as a float rather than an integer.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/views.py')
0 files changed, 0 insertions, 0 deletions