fix/TS-4785
This commit is contained in:
parent
98a6797a4d
commit
034c7b56ca
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue