From fa95ddd1a294ebad47cabf9e149ee7d789271044 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期三, 14 四月 2021 19:45:09 +0800 Subject: [PATCH] use 2 buf to speed up sendq; socket auto start. --- utest/speed_test.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utest/speed_test.cpp b/utest/speed_test.cpp index 0c40f14..52fe824 100644 --- a/utest/speed_test.cpp +++ b/utest/speed_test.cpp @@ -171,7 +171,7 @@ } MsgI msg; BHMsgHead head; - if (!cli.SyncRecv(msg, head, 100)) { + if (!cli.SyncRecv(msg, head, 1000)) { printf("********** client recv error.\n"); } else { DEFER1(msg.Release(shm)); -- Gitblit v1.8.0