diff options
Diffstat (limited to 'test/bench_network.cpp')
-rw-r--r-- | test/bench_network.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/bench_network.cpp b/test/bench_network.cpp index a498954..ca22db4 100644 --- a/test/bench_network.cpp +++ b/test/bench_network.cpp @@ -81,7 +81,8 @@ struct MyNet: public MsgNetworkByteOp { const std::string name, const NetAddr &peer, double stat_timeout = -1): - MsgNetworkByteOp(ec, MsgNetworkByteOp::Config().burst_size(1000).queue_capacity(65536)), + MsgNetworkByteOp(ec, MsgNetworkByteOp::Config( + ConnPool::Config().queue_capacity(65536)).burst_size(1000)), name(name), peer(peer), ev_period_stat(ec, [this, stat_timeout](TimerEvent &) { |