[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - zopeschema.xml:1.7.2.14

Chris McDonough chrism at plope.com
Sat May 22 23:52:28 EDT 2004


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

Modified Files:
      Tag: Zope-2_7-branch
	zopeschema.xml 
Log Message:
- Add "instance-local" "period" to TransientObjectContainer.  This allows
  users to dial a knob which may (or may not) reduce the number of conflicts
  that happen during heavy sessioning usage by reducing the frequency at
  which buckets potentially expire at the cost of expiration time
  accuracy.  Previously, this setting was hardcoded to 20 (seconds) at
  module scope.

- Add 'session-resolution-seconds' to zope.conf.in/zopeschema.xml to
  control instance-local period for /temp_folder/session_data.

- Update TOC UI, interface, and help files to deal with instance-local
  period.

- Update OFS/Application to deal with instance-local period for default
  /temp/session_data TOC.

- Use __setstate__ for TOC upgrade instead of a dedicated _upgrade method
  (it was too hard to figure out where to call _upgrade from and when to
  call it).

- Perform a few formatting changes that should make it easier to merge the 2.7
  branch with the HEAD going forward.  I beseech those who make formatting
  changes to a branch or the HEAD make them to the other at that time
  as well, especially with the SVN/CVS split it's very painful to do merging
  when there are non-substantive differences between HEAD/maint.  When I was
  a child, I never thought I would need to use the word "beseech", however, it
  has indeed happened.



=== Zope/lib/python/Zope/Startup/zopeschema.xml 1.7.2.13 => 1.7.2.14 ===
--- Zope/lib/python/Zope/Startup/zopeschema.xml:1.7.2.13	Sat May 22 21:12:35 2004
+++ Zope/lib/python/Zope/Startup/zopeschema.xml	Sat May 22 23:51:57 2004
@@ -623,6 +623,16 @@
      <metadefault>20</metadefault>
   </key>
 
+  <key name="session-resolution-seconds" datatype="integer"
+       default="20">
+     <description>
+     An integer value representing the number of seconds to be used as the
+     "timeout resolution" of the '/temp_folder/session_data' transient
+     object container in Zope's object database.
+     </description>
+     <metadefault>20</metadefault>
+  </key>
+
   <key name="suppress-all-access-rules" datatype="boolean"
        default="off" handler="suppress_all_access_rules">
      <description>




More information about the Zope-Checkins mailing list