Merge branch 'ent-12560-notificacion-del-alert-correlation-changed-in-v774-sigue-apareciendo' into 'develop'
Ent 12560 notificacion del alert correlation changed in v774 sigue apareciendo See merge request artica/pandorafms!6770
This commit is contained in:
commit
bfa087413c
|
@ -928,7 +928,9 @@ class ConsoleSupervisor
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($prev !== false
|
if ($data['type'] === 'NOTIF.LOG.ALERT' && $prev !== false) {
|
||||||
|
return;
|
||||||
|
} else if ($prev !== false
|
||||||
&& (time() - $prev['timestamp']) > $max_age
|
&& (time() - $prev['timestamp']) > $max_age
|
||||||
) {
|
) {
|
||||||
// Clean previous notification.
|
// Clean previous notification.
|
||||||
|
|
Loading…
Reference in New Issue