Fix no re-notification for non OK state changes with time delay

This commit is contained in:
Yonas Habteab 2020-12-14 11:31:59 +01:00
parent eee76f707e
commit 997ad86225
1 changed files with 6 additions and 0 deletions

View File

@ -287,6 +287,12 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe
*/
SetNextNotification(checkable->GetLastHardStateChange() + timesBegin + 1.0);
/*
* We need to set no more notifications to false, in case
* some notifications were sent previously
*/
SetNoMoreNotifications(false);
return;
}