mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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…
x
Reference in New Issue
Block a user