diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-16 23:45:30 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-21 16:10:33 +0200 |
commit | 3d8bc07622561028dbca9c709470accf79c95bd6 (patch) | |
tree | b7af51ca4dedd5b7f7f8108d80b87d6420b7c131 /devel/utils.py | |
parent | 7c88e3e1a2b5d36281b3981e2144c2dd16c7596c (diff) | |
download | archweb-3d8bc07622561028dbca9c709470accf79c95bd6.tar.gz archweb-3d8bc07622561028dbca9c709470accf79c95bd6.tar.xz |
Add 'mirrorcheck' command
This does the actual work of going out and checking the mirror status. In
short, it polls every active mirror URL for the 'lastsync' file and then
records the appropriate details. These include the contents of that file,
how long the total time to retrieve took, and any errors encountered.
In order to finish up a bit faster, we spawn several threads to do the
actual work. This parallelization allows the whole check process to take
around 30 seconds rather than several minutes.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/utils.py')
0 files changed, 0 insertions, 0 deletions