diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/bench_network.cpp | 2 | ||||
-rw-r--r-- | test/bench_network_tls.cpp | 2 | ||||
-rw-r--r-- | test/test_bounded_recv_buffer.cpp | 2 |
3 files changed, 3 insertions, 3 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 &) { diff --git a/test/bench_network_tls.cpp b/test/bench_network_tls.cpp index 47b9347..576056d 100644 --- a/test/bench_network_tls.cpp +++ b/test/bench_network_tls.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) .enable_tls(true) .tls_cert_file("alice.pem") .tls_key_file("alice.pem")).burst_size(1000)), diff --git a/test/test_bounded_recv_buffer.cpp b/test/test_bounded_recv_buffer.cpp index b092260..2ea34f6 100644 --- a/test/test_bounded_recv_buffer.cpp +++ b/test/test_bounded_recv_buffer.cpp @@ -83,7 +83,7 @@ struct MyNet: public MsgNetworkByteOp { MsgNetworkByteOp(ec, MsgNetworkByteOp::Config( ConnPool::Config() .max_recv_buff_size(10) - .queue_capacity(10) + .max_send_buff_size(10) ).burst_size(10)), name(name), ev_period_stat(ec, [this, stat_timeout](TimerEvent &) { |