Wait about 5 minutes before showing info about newly generated

screenshots on IRC.

This allows srv02.xonotic.org to host static-only pages instead. Faster,
more secure, less heartbleed, etc.
This commit is contained in:
Rudolf Polzer 2014-04-14 20:37:06 +02:00
parent 2544c0c0a5
commit 918a908dc9

View File

@ -292,6 +292,9 @@ screenshotthemap()
rsync -vaSHP "$M-$blobhash" "$url_ssh"
rsync -vaSHP "$M" "$url_ssh""latest/"
if [ -n "$IRCSPAM" ]; then
# It takes about 5 minutes for the server to update.
sleep 360 # Cut it one more minute of slack.
$IRCSPAM < "$M-$blobhash/$M.ircss" || true
fi
if [ -n "$BUILD_ONE" ]; then