changeset 1660:00f6b442348a

twisted: make timeout configurable and raise to 15 minutes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 01 Nov 2006 20:03:19 +0100
parents a434ee49b5a6
children 2fe0ea7022f1
files MoinMoin/server/TWISTED.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/server/TWISTED.py	Wed Nov 01 19:12:16 2006 +0100
+++ b/MoinMoin/server/TWISTED.py	Wed Nov 01 20:03:19 2006 +0100
@@ -206,6 +206,7 @@
     port = 8080
     interfaces = ['']
     threads = 10
+    timeout = 15*60 # 15 minutes
     logPath = None # moin log file
     logPath_twisted = None # Twisted log file
     virtualHosts = None
@@ -251,7 +252,7 @@
     root = vhost.NameVirtualHost()
     root.default = default
     # ----------------------------------------------
-    site = MoinSite(root, logPath=config.logPath_twisted, timeout=2*60) # 2 minutes timeout
+    site = MoinSite(root, logPath=config.logPath_twisted, timeout=config.timeout)
 
     # Make application
     application = service.Application("web", uid=config.uid, gid=config.gid)