fix default values
authorSylvain Thenault <sylvain.thenault@logilab.fr>
Fri, 05 Dec 2008 17:25:45 +0100
changeset 168 f6be0c92fc38
parent 167 b726c12af78f
child 169 0e031b66cb0b
fix default values
web/application.py
--- a/web/application.py	Fri Dec 05 17:24:48 2008 +0100
+++ b/web/application.py	Fri Dec 05 17:25:45 2008 +0100
@@ -31,9 +31,9 @@
     def __init__(self):
         self.session_time = self.vreg.config['http-session-time'] or None
         assert self.session_time is None or self.session_time > 0
-        self.cleanup_session_time = self.vreg.config['cleanup-session-time'] or 120
+        self.cleanup_session_time = self.vreg.config['cleanup-session-time'] or 43200
         assert self.cleanup_session_time > 0
-        self.cleanup_anon_session_time = self.vreg.config['cleanup-anonymous-session-time'] or 720
+        self.cleanup_anon_session_time = self.vreg.config['cleanup-anonymous-session-time'] or 120
         assert self.cleanup_anon_session_time > 0
         if self.session_time:
             assert self.cleanup_session_time < self.session_time