From a7f438d84fc8e94fc5c685b8a53402258884ca8e Mon Sep 17 00:00:00 2001 From: xzl <771730766@qq.com> Date: Tue, 9 May 2017 10:45:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=A4=A7tpc=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E9=99=90=E5=88=B6=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Common/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/config.h b/src/Common/config.h index e941d1ac..030b6f8b 100644 --- a/src/Common/config.h +++ b/src/Common/config.h @@ -17,7 +17,7 @@ namespace Config { void loaIniConfig(); ////////////TCP最大连接数/////////// #ifdef __x86_64__ -#define MAX_TCP_SESSION 512 +#define MAX_TCP_SESSION 100000 #else #define MAX_TCP_SESSION 128 #endif