aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-02-14 14:29:34 -0500
committerDeterminant <[email protected]>2020-02-14 14:29:34 -0500
commit7dc5ec52b1c419c58c68d7359870a292ab12d7db (patch)
tree214f2999decf1bf24f0cf777467eff73ceb08d62 /test
parent46a35d57f2565b306285023b27d28187167205c8 (diff)
move the config option to MsgNetwork::Config
Diffstat (limited to 'test')
-rw-r--r--test/test_p2p_stress.cpp3
1 files changed, 2 insertions, 1 deletions
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);