diff --git a/aux/binpac b/aux/binpac index bb2476465e..ce89e30109 160000 --- a/aux/binpac +++ b/aux/binpac @@ -1 +1 @@ -Subproject commit bb2476465e304a00c368bd73d40cc6f734be5311 +Subproject commit ce89e301091fd8fd6ef53701b7b29a79d888b637 diff --git a/src/main.cc b/src/main.cc index 473f3a72e7..09b1ebfaeb 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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();