self._stopping = threading.Event()
self.shutdown_event = threading.Event()
-
self.ACCESS_CTRL_DB = None
self.SSO_DB = None
+ self.health_checks = {}
@classmethod
def can_run(cls):
return self.__pool_stats
+ def config_notify(self):
+ """
+ This method is called whenever one of our config options is changed.
+ """
+ PLUGIN_MANAGER.hook.config_notify()
+
+ def refresh_health_checks(self):
+ self.set_health_checks(self.health_checks)
+
class StandbyModule(MgrStandbyModule, CherryPyConfig):
def __init__(self, *args, **kwargs):