[Zope-Checkins] CVS: Packages/OFS - Application.py:1.191.2.14
Tres Seaver
tseaver at zope.com
Tue Jan 18 11:21:44 EST 2005
Update of /cvs-repository/Packages/OFS
In directory cvs.zope.org:/tmp/cvs-serv19080/lib/python/OFS
Modified Files:
Tag: Zope-2_7-branch
Application.py
Log Message:
- Collector #1667: allow 'max-number-of-session-objects 0' to have
the same effect as setting the value via the web interface (i.e.,
make the number of session objects unlimited, rather than falling
back to the default).
=== Packages/OFS/Application.py 1.191.2.13 => 1.191.2.14 ===
--- Packages/OFS/Application.py:1.191.2.13 Mon Nov 29 15:38:50 2004
+++ Packages/OFS/Application.py Tue Jan 18 11:21:13 2005
@@ -379,8 +379,8 @@
default_period_secs = 20
default_timeout_mins = 20
- limit = (getattr(config, 'maximum_number_of_session_objects', None)
- or default_limit)
+ limit = getattr(config, 'maximum_number_of_session_objects',
+ default_limit)
timeout_spec = getattr(config, 'session_timeout_minutes',
default_timeout_mins)
period_spec = getattr(config, 'session_resolution_seconds',
More information about the Zope-Checkins
mailing list