From 7dc5ec52b1c419c58c68d7359870a292ab12d7db Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 14 Feb 2020 14:29:34 -0500 Subject: move the config option to MsgNetwork::Config --- test/test_p2p_stress.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_p2p_stress.cpp b/test/test_p2p_stress.cpp index e4341bb..4e16e30 100644 --- a/test/test_p2p_stress.cpp +++ b/test/test_p2p_stress.cpp @@ -225,7 +225,8 @@ int main(int argc, char **argv) { .nworker(opt_nworker->get()) .seg_buff_size(seg_buff_size)) .conn_timeout(opt_conn_timeout->get()) - .ping_period(opt_ping_peroid->get())); + .ping_period(opt_ping_peroid->get()) + .max_msg_size(65536)); a.tcall = new ThreadCall(a.ec); if (!opt_no_msg->get()) install_proto(a, seg_buff_size); -- cgit v1.2.3-70-g09d2