Changeset 1838
- Timestamp:
- 01/12/08 17:43:56
- Files:
-
- branches/cherrypy-3.0.x/cherrypy/lib/sessions.py (modified) (1 diff)
- trunk/cherrypy/lib/sessions.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/cherrypy-3.0.x/cherrypy/lib/sessions.py
r1774 r1838 133 133 # clean_up is in instancemethod and not a classmethod, 134 134 # so tool config can be accessed inside the method. 135 t = PerpetualTimer(self.clean_freq , self.clean_up)135 t = PerpetualTimer(self.clean_freq * 60, self.clean_up) 136 136 t.setName("CP Session Cleanup") 137 137 cls.clean_thread = t trunk/cherrypy/lib/sessions.py
r1801 r1838 132 132 # so that tool config can be accessed inside the method. 133 133 t = cherrypy.restsrv.plugins.Monitor( 134 cherrypy.engine, self.clean_up, self.clean_freq )134 cherrypy.engine, self.clean_up, self.clean_freq * 60) 135 135 t.subscribe() 136 136 cls.clean_thread = t

