diff --git a/modules/proto_bin/doc/proto_bin_admin.xml b/modules/proto_bin/doc/proto_bin_admin.xml index e5815d386de..6f63f34dc91 100644 --- a/modules/proto_bin/doc/proto_bin_admin.xml +++ b/modules/proto_bin/doc/proto_bin_admin.xml @@ -159,14 +159,14 @@ modparam("proto_bin", "bin_async", 0) - Default value is 32. + Default value is 1024. Set <varname>bin_async_max_postponed_chunks</varname> parameter ... -modparam("proto_bin", "bin_async_max_postponed_chunks", 16) +modparam("proto_bin", "bin_async_max_postponed_chunks", 1024) ... diff --git a/modules/proto_bin/proto_bin.c b/modules/proto_bin/proto_bin.c index 5a96891aad8..8e7dcd75c5b 100644 --- a/modules/proto_bin/proto_bin.c +++ b/modules/proto_bin/proto_bin.c @@ -56,7 +56,7 @@ static int bin_send_timeout = 100; static struct tcp_req bin_current_req; static int bin_max_msg_chunks = 32; static int bin_async = 1; -static int bin_async_max_postponed_chunks = 32; +static int bin_async_max_postponed_chunks = 1024; static int bin_async_local_connect_timeout = 100; static int bin_async_local_write_timeout = 10;