mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 22:18:20 +00:00
Fix notice suppression atomicity bug
This commit is contained in:
parent
85e8d17887
commit
82ee17be8d
1 changed files with 1 additions and 0 deletions
|
@ -538,6 +538,7 @@ hook Notice::notice(n: Notice::Info) &priority=-5
|
|||
n$suppress_for != 0secs )
|
||||
{
|
||||
event Notice::begin_suppression(n$ts, n$suppress_for, n$note, n$identifier);
|
||||
suppressing[n$note, n$identifier] = n$ts + n$suppress_for;
|
||||
@if ( Cluster::is_enabled() && Cluster::local_node_type() != Cluster::MANAGER )
|
||||
event Notice::manager_begin_suppression(n$ts, n$suppress_for, n$note, n$identifier);
|
||||
@endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue