summaryrefslogtreecommitdiffstats
path: root/devel/utils.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-16 23:45:30 +0200
committerDan McGee <dan@archlinux.org>2010-09-21 16:10:33 +0200
commit3d8bc07622561028dbca9c709470accf79c95bd6 (patch)
treeb7af51ca4dedd5b7f7f8108d80b87d6420b7c131 /devel/utils.py
parent7c88e3e1a2b5d36281b3981e2144c2dd16c7596c (diff)
downloadarchweb-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