Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 310

Show
Ignore:
Timestamp:
06/14/05 13:31:25
Author:
fumanchu
Message:

New version string, and fix for ticket #99.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/__init__.py

    r161 r310  
    1 __version__ = '2.0.0
     1__version__ = '2.1.0 alpha
  • trunk/cherrypy/lib/filter/cachefilter.py

    r270 r310  
    6060        while True: 
    6161            expirationTime, objSize, objKey = self.expirationQueue.get(block=True, timeout=None) 
    62             while (time.time() < expirationTime): 
     62            # expireCache runs in a separate thread which the servers are 
     63            # not aware of. It's possible that "time" will be set to None 
     64            # arbitrarily, so we check "while time" to avoid exceptions. 
     65            # See tickets #99 and #180 for more information. 
     66            while time and (time.time() < expirationTime): 
    6367                time.sleep(0.1) 
    6468            try: 

Hosted by WebFaction

Log in as guest/cpguest to create tickets