Commit 659462e1 authored by Colomban Wendling's avatar Colomban Wendling

Reset recipient list when reloading configuration

parent b56d2917
...@@ -66,6 +66,7 @@ def __hangup_handler(signum, frame): ...@@ -66,6 +66,7 @@ def __hangup_handler(signum, frame):
from importlib import reload from importlib import reload
oldchecks = list(config.checks) oldchecks = list(config.checks)
config.checks.clear() config.checks.clear() = [] # FIXME: send final mail to removed recipients?
reload(config.configmodule) reload(config.configmodule)
config.checks.merge(oldchecks) config.checks.merge(oldchecks)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment