aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-04-03 14:55:26 -0400
committerDeterminant <[email protected]>2019-04-03 14:55:26 -0400
commitb7802b3b06511f067719cb845dfd03a223f0e18f (patch)
tree80bd89e89e073e0a51233a228a562c463f8a20d4 /test
parentaaa5ab0a55c0b9758e59883dcffae248c6c52564 (diff)
improve non-blocking API
Diffstat (limited to 'test')
-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 89289fe..58f4a64 100644
--- a/test/bench_network.cpp
+++ b/test/bench_network.cpp
@@ -79,7 +79,7 @@ struct MyNet: public MsgNetworkByteOp {
const std::string name,
const NetAddr &peer,
double stat_timeout = -1):
- MsgNetworkByteOp(ec, MsgNetworkByteOp::Config().burst_size(1000)),
+ MsgNetworkByteOp(ec, MsgNetworkByteOp::Config().burst_size(1000).queue_capacity(65536)),
name(name),
peer(peer),
ev_period_stat(ec, [this, stat_timeout](TimerEvent &) {