From cfb62d5e07ff02cada64c7df4d45bbbdc04addb3 Mon Sep 17 00:00:00 2001 From: afwerar <1296468573@qq.com> Date: Tue, 30 Aug 2022 10:59:16 +0800 Subject: [PATCH] feature: update cfg --- source/common/src/tglobal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index a45845197d..0bab6a8611 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -438,7 +438,7 @@ static int32_t taosUpdateServerCfg(SConfig *pCfg) { return -1; } else { stype = pItem->stype; - numOfCores = pItem->i32; + numOfCores = pItem->fval; } pItem = cfgGetItem(tsCfg, "supportVnodes");