From b0108e00f92bf3d7e30e74a859f55e313f9b1e53 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 9 Oct 2024 11:55:05 +0800 Subject: [PATCH] add config --- source/common/src/tglobal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index 33818d7aa9..1f1188c664 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -1390,6 +1390,9 @@ static int32_t taosSetServerCfg(SConfig *pCfg) { TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "shareConnLimit"); tsShareConnLimit = pItem->i32; + TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "readTimeout"); + tsReadTimeout = pItem->i32; + TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "timeToGetAvailableConn"); tsTimeToGetAvailableConn = pItem->i32;