fix/TS-4785

This commit is contained in:
dmchen 2024-07-11 05:33:31 +00:00
parent 98a6797a4d
commit 034c7b56ca
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ int32_t vmStartWorker(SVnodeMgmt *pMgmt) {
if (tSingleWorkerInit(&pMgmt->mgmtWorker, &mgmtCfg) != 0) return -1; if (tSingleWorkerInit(&pMgmt->mgmtWorker, &mgmtCfg) != 0) return -1;
int32_t threadNum = 0; int32_t threadNum = 0;
if (tsNumOfCores == 0) { if (tsNumOfCores == 1) {
threadNum = 2; threadNum = 2;
} else { } else {
threadNum = tsNumOfCores; threadNum = tsNumOfCores;