Commits

Robert Brewer  committed 233e580

3.0/3.1 fix for #760 (Session tool cleanup frequency).

  • Participants
  • Parent commits 190f8e1

Comments (0)

Files changed (1)

File cherrypy/lib/sessions.py

             # clean_up is in instancemethod and not a classmethod,
             # so that tool config can be accessed inside the method.
             t = cherrypy.restsrv.plugins.Monitor(
-                cherrypy.engine, self.clean_up, self.clean_freq)
+                cherrypy.engine, self.clean_up, self.clean_freq * 60)
             t.subscribe()
             cls.clean_thread = t
             t.start()