Fixed a problem where cluster workers were still processing notices in some cases.

This commit is contained in:
Seth Hall 2012-04-26 10:45:28 -04:00
parent 8c14b5a911
commit c561a44326

View file

@ -23,7 +23,10 @@ redef Cluster::worker2manager_events += /Notice::cluster_notice/;
@if ( Cluster::local_node_type() != Cluster::MANAGER )
# The notice policy is completely handled by the manager and shouldn't be
# done by workers or proxies to save time for packet processing.
redef policy = {};
event bro_init() &priority=-11
{
Notice::policy = table();
}
event Notice::begin_suppression(n: Notice::Info)
{