[cvs] commit: horde/config conf.xml framework/Cache Cache.php framework/Cache/Cache apc.php eaccelerator.php file.php memcache.php sql.php xcache.php zps4.php
    Michael M Slusarz 
    slusarz at horde.org
       
    Thu Jun 14 19:32:11 UTC 2007
    
    
  
slusarz     2007-06-14 15:32:11 EDT
  Modified files:
    config               conf.xml 
    Cache                Cache.php 
    Cache/Cache          apc.php eaccelerator.php file.php 
                         memcache.php sql.php xcache.php zps4.php 
  Log:
  Remove concept of general GC.  Instead, implement 3rd parameter to set() which
  indicates the max life of data.  Falls back to default_lifetime if no
  value is given.  Allows us to mark data as unavailable to normal GC (i.e.
  persistent cache objects we want to keep as long as possible).
  Do this GC checking less often - 0.1 % of the time rather than 1%.  Also,
  do as shutdown function so it doesn't interfere with user page load.
  Fix 'file' GC - it would not check files located in subdirectories.
  
  Revision  Changes    Path
  1.50      +14 -16    framework/Cache/Cache.php
  1.8       +8 -6      framework/Cache/Cache/apc.php
  1.8       +8 -6      framework/Cache/Cache/eaccelerator.php
  1.53      +94 -31    framework/Cache/Cache/file.php
  1.20      +8 -6      framework/Cache/Cache/memcache.php
  1.9       +32 -21    framework/Cache/Cache/sql.php
  1.5       +8 -6      framework/Cache/Cache/xcache.php
  1.9       +5 -4      framework/Cache/Cache/zps4.php
  1.189     +2 -10     horde/config/conf.xml
  Chora Links:
  http://cvs.horde.org/diff.php/framework/Cache/Cache.php?r1=1.49&r2=1.50&ty=u
  http://cvs.horde.org/diff.php/framework/Cache/Cache/apc.php?r1=1.7&r2=1.8&ty=u
  http://cvs.horde.org/diff.php/framework/Cache/Cache/eaccelerator.php?r1=1.7&r2=1.8&ty=u
  http://cvs.horde.org/diff.php/framework/Cache/Cache/file.php?r1=1.52&r2=1.53&ty=u
  http://cvs.horde.org/diff.php/framework/Cache/Cache/memcache.php?r1=1.19&r2=1.20&ty=u
  http://cvs.horde.org/diff.php/framework/Cache/Cache/sql.php?r1=1.8&r2=1.9&ty=u
  http://cvs.horde.org/diff.php/framework/Cache/Cache/xcache.php?r1=1.4&r2=1.5&ty=u
  http://cvs.horde.org/diff.php/framework/Cache/Cache/zps4.php?r1=1.8&r2=1.9&ty=u
  http://cvs.horde.org/diff.php/horde/config/conf.xml?r1=1.188&r2=1.189&ty=u
    
    
More information about the cvs
mailing list