Commits

Robert Brewer committed 88536df

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

  • Participants
  • Parent commits adf1238
  • Branches cherrypy-3.0.x

Comments (0)

Files changed (1)

File cherrypy/lib/sessions.py

             cherrypy.engine.on_stop_engine_list.append(cls.clean_interrupt)
             # clean_up is in instancemethod and not a classmethod,
             # so tool config can be accessed inside the method.
-            t = PerpetualTimer(self.clean_freq, self.clean_up)
+            t = PerpetualTimer(self.clean_freq * 60, self.clean_up)
             t.setName("CP Session Cleanup")
             cls.clean_thread = t
             t.start()