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

Changeset 2045

Show
Ignore:
Timestamp:
09/27/08 19:29:56
Author:
fumanchu
Message:

Fix for #854 (Add possibility to disable session cleanup thread).

Files:

Legend:

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

    r2021 r2045  
    144144        # The instances are created and destroyed per-request. 
    145145        cls = self.__class__ 
    146         if not cls.clean_thread: 
     146        if self.clean_freq and not cls.clean_thread: 
    147147            # clean_up is in instancemethod and not a classmethod, 
    148148            # so that tool config can be accessed inside the method. 

Hosted by WebFaction

Log in as guest/cpguest to create tickets