[Zope-Checkins] CVS: Zope/lib/python/App - ApplicationManager.py:

Chris McDonough chrism at plope.com
Mon Mar 8 02:58:48 EST 2004

Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv2819

Modified Files:
      Tag: Zope-2_7-branch
Log Message:
Wait 10 seconds to reload page after a restart.  On slower machines or machines with large databases, Zope can take a long time to restart and when the meta-refresh comes back before the server is up, it raises a browser error.  People who know what it does won't wait, and bumping up the timeout will help mitigate a FAQ on the Zope lists and in the collector from those who don't.

=== Zope/lib/python/App/ApplicationManager.py => ===
--- Zope/lib/python/App/ApplicationManager.py:	Mon Jan 19 14:46:43 2004
+++ Zope/lib/python/App/ApplicationManager.py	Mon Mar  8 02:58:46 2004
@@ -398,7 +398,7 @@
             #for db in Globals.opened: db.close()
             return """<html>
-            <head><meta HTTP-EQUIV=REFRESH CONTENT="5; URL=%s/manage_main">
+            <head><meta HTTP-EQUIV=REFRESH CONTENT="10; URL=%s/manage_main">
             <body>Zope is restarting</body></html>
             """ % escape(URL1, 1)

More information about the Zope-Checkins mailing list