aboutsummaryrefslogtreecommitdiff
path: root/test/bench_network.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-02-14 15:13:47 -0500
committerDeterminant <[email protected]>2020-02-14 15:13:47 -0500
commit853a6503391a05a3f60b50bb40a7dd4f35588293 (patch)
treec25dc16a0f5170611d0aa8e3a12d63e98a036342 /test/bench_network.cpp
parent7dc5ec52b1c419c58c68d7359870a292ab12d7db (diff)
change queue_capacity to max_send_buff_size; adjust the C API
Diffstat (limited to 'test/bench_network.cpp')
-rw-r--r--test/bench_network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bench_network.cpp b/test/bench_network.cpp
index 1d52c39..13d9282 100644
--- a/test/bench_network.cpp
+++ b/test/bench_network.cpp
@@ -81,7 +81,7 @@ struct MyNet: public MsgNetworkByteOp {
double stat_timeout = -1):
MsgNetworkByteOp(ec, MsgNetworkByteOp::Config(
ConnPool::Config()
- .queue_capacity(65536)
+ .max_send_buff_size(65536)
).burst_size(1000)),
name(name),
ev_period_stat(ec, [this, stat_timeout](TimerEvent &) {