Source

CherryPy / cherrypy / process / plugins.py

Diff from to

cherrypy/process/plugins.py

     it won't delay stopping the whole process.
     """
 
-    def __init__(self, interval, function, args=[], kwargs={}, bus=None, *, daemon=True):
+    def __init__(self, interval, function, args=[], kwargs={}, bus=None, daemon=True):
         threading.Thread.__init__(self)
         self.interval = interval
         self.function = function
                 # Quit on first error to avoid massive logs.
                 raise
 
+    def _set_daemon(self):
+        return True
+
 
 class Monitor(SimplePlugin):
     """WSPBus listener to periodically run a callback in its own thread."""