Server notifications clean when solved

This commit is contained in:
Luis Calvo 2020-07-06 17:01:52 +02:00
parent 50ef2f6e54
commit 71eaebc03b
1 changed files with 3 additions and 0 deletions

View File

@ -1221,6 +1221,9 @@ class ConsoleSupervisor
// At this point there's no servers with issues.
$this->cleanNotifications('NOTIF.SERVER.STATUS%');
return;
} else {
// Clean notifications. Only show notif for down servers.
$this->cleanNotifications('NOTIF.SERVER.STATUS%');
}
foreach ($servers as $server) {