aboutsummaryrefslogtreecommitdiff
path: root/test/test_p2p_stress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_p2p_stress.cpp')
-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);