]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Wait about 5 minutes before showing info about newly generated
authorRudolf Polzer <divverent@xonotic.org>
Mon, 14 Apr 2014 18:37:06 +0000 (20:37 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 14 Apr 2014 18:37:06 +0000 (20:37 +0200)
screenshots on IRC.

This allows srv02.xonotic.org to host static-only pages instead. Faster,
more secure, less heartbleed, etc.

misc/tools/xonotic-map-compiler-autobuild

index 0499f837792e070705dca5323a9219463b56f855..08c902ca90f65f8044dfe74e1cbf3cd79fbabb81 100755 (executable)
@@ -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