mirrorproj.cgi: do not crash and burn if mirroring hasn't started
commit01bc6e8eb5ee262170838916a2c3b81dd4e43970
authorKyle J. McKay <mackyle@gmail.com>
Sun, 30 Oct 2016 11:27:11 +0000 (30 04:27 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 30 Oct 2016 11:27:11 +0000 (30 04:27 -0700)
tree727a047d71444bc1c0148846668dcc04da3cb661
parent462729b354f494b3c6013d547e1814affa63cf63
mirrorproj.cgi: do not crash and burn if mirroring hasn't started

If there is a clone backlog or some other issue, it's possible that
the mirrorproj page will be loaded before cloning has actually started.

If cloning has not yet started, wait up to several seconds before
giving up and then show a nice "please reload again later" message
instead of a nasty crash-and-burn one.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
cgi/mirrorproj.cgi