• Chris McDonough's avatar
    Merge from 2.7 branch: · 1f2a7cce
    Chris McDonough authored
    - 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.
    1f2a7cce
Transience.py 29.9 KB