mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Use a default binpac flowbuffer policy
This commit is contained in:
parent
f7ee433a55
commit
5e9b119a08
2 changed files with 6 additions and 2 deletions
|
@ -893,7 +893,11 @@ int main(int argc, char** argv)
|
|||
|
||||
// Must come after plugin activation (and also after hash
|
||||
// initialization).
|
||||
binpac::init();
|
||||
binpac::FlowBuffer::Policy flowbuffer_policy;
|
||||
flowbuffer_policy.max_capacity = 10 * 1024 * 1024;
|
||||
flowbuffer_policy.min_capacity = 512;
|
||||
flowbuffer_policy.contract_threshold = 2 * 1024 * 1024;
|
||||
binpac::init(&flowbuffer_policy);
|
||||
|
||||
init_event_handlers();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue