From 5c0ece87e2ce183119f29f5d6a2c53465a622ac9 Mon Sep 17 00:00:00 2001
From: yangchen <yangchen145@huawei.com>
Date: Sat, 17 Aug 2024 05:15:57 +0800
Subject: [PATCH] cfg: modify maximum tcp_conn_count to 2w

---
 src/lstack/core/lstack_cfg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lstack/core/lstack_cfg.c b/src/lstack/core/lstack_cfg.c
index cd81edb..882e60a 100644
--- a/src/lstack/core/lstack_cfg.c
+++ b/src/lstack/core/lstack_cfg.c
@@ -917,7 +917,7 @@ static int32_t parse_use_ltran(void)
 static int32_t parse_tcp_conn_count(void)
 {
     int32_t ret;
-    PARSE_ARG(g_config_params.tcp_conn_count, "tcp_conn_count", TCP_CONN_COUNT, 1, TCP_CONN_COUNT, ret);
+    PARSE_ARG(g_config_params.tcp_conn_count, "tcp_conn_count", TCP_CONN_COUNT, 1, GAZELLE_MAX_CLIENTS, ret);
     return ret;
 }
 
-- 
2.33.0

