summaryrefslogtreecommitdiff
path: root/mirrors/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-16 16:45:30 -0500
committerDan McGee <dan@archlinux.org>2010-09-21 09:10:33 -0500
commit3d8bc07622561028dbca9c709470accf79c95bd6 (patch)
treeb7af51ca4dedd5b7f7f8108d80b87d6420b7c131 /mirrors/admin.py
parent7c88e3e1a2b5d36281b3981e2144c2dd16c7596c (diff)
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 'mirrors/admin.py')
0 files changed, 0 insertions, 0 deletions