mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
Force the Broker IOSource to idle periodically
Previously, if there was always input in each Process() call, then the Broker IOSource would never go idle and could completely starve out a packet IOSource since it would always report readiness with a timestamp value of the last known network_time (which prevents selecting a packet IOSource for processing, due to incoming packets likely having timestamps that are later).
This commit is contained in:
parent
9a461d26e4
commit
32473b85b0
2 changed files with 28 additions and 1 deletions
|
@ -382,6 +382,7 @@ private:
|
|||
bool reading_pcaps;
|
||||
bool after_zeek_init;
|
||||
int peer_count;
|
||||
int times_processed_without_idle;
|
||||
|
||||
Func* log_topic_func;
|
||||
VectorType* vector_of_data_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue