Changes between Initial Version and Version 2 of Ticket #10667


Ignore:
Timestamp:
Mar 24, 2013 6:34:07 AM (17 months ago)
Author:
rjollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10667 – Description

    initial v2  
    33In r12025, there is the following section: 
    44 
     5{{{ 
    56425               if last_prune + self.cache_memsize_warn > now: 
    67426                 self.env.log.info('pruning memcache in less than %d seconds, you might increase cache_memsize.' % int(self.cache_memsize_warn)) 
     
    89428             self.env.log.debug('pruning memcache by %d: (current: %d > max: %d )' % (self.cache_memprune, len(self._cache), int(self.cache_memsize))) 
    910429             cache_keys = self._cache.keys() 
     11}}} 
    1012 
    1113I believe 'self.cache_memsize_warn' needs to be wrapped in an int cast, or 'int(self.cache_memsize_warn)' everywhere it is used.  This change appeared to fix it for me.  I'm not sure if there are other places this much be changed as well.