Index: tools/gformat.py
===================================================================
--- tools/gformat.py	(revision 13985)
+++ tools/gformat.py	(revision 13986)
@@ -1492,4 +1492,5 @@
   form = urlparse.parse_qs(environ['QUERY_STRING']) if environ.has_key('QUERY_STRING') else None
   if form and form.has_key("action") and "update" in form["action"]:
+    refresh_rate = 5
     output = "[INFO] Updating subverion, please wait...\n"
     output += subprocess.Popen([SVN, 'cleanup', "%s/.." % NODE_DIR], stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0]
@@ -1499,8 +1500,9 @@
     except:
         output += traceback.format_exc()
+        refresh_rate = 120
         pass
-    output += "[INFO] All done, redirecting in 5 seconds"
+    output += "[INFO] All done, redirecting in %s seconds" % refresh_rate
     response_headers += [
-      ('Refresh', '5; url=.'),
+      ('Refresh', '%s; url=.' % refresh_rate),
     ]
   else:
