From 034c7b56ca3c4d097cd03208d30a0e26866ab912 Mon Sep 17 00:00:00 2001 From: dmchen Date: Thu, 11 Jul 2024 05:33:31 +0000 Subject: [PATCH] fix/TS-4785 --- source/dnode/mgmt/mgmt_vnode/src/vmWorker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dnode/mgmt/mgmt_vnode/src/vmWorker.c b/source/dnode/mgmt/mgmt_vnode/src/vmWorker.c index c8fe03164b..0415340be9 100644 --- a/source/dnode/mgmt/mgmt_vnode/src/vmWorker.c +++ b/source/dnode/mgmt/mgmt_vnode/src/vmWorker.c @@ -448,7 +448,7 @@ int32_t vmStartWorker(SVnodeMgmt *pMgmt) { if (tSingleWorkerInit(&pMgmt->mgmtWorker, &mgmtCfg) != 0) return -1; int32_t threadNum = 0; - if (tsNumOfCores == 0) { + if (tsNumOfCores == 1) { threadNum = 2; } else { threadNum = tsNumOfCores;