diff --git a/source/dnode/mgmt/daemon/src/dmnCfg.c b/source/dnode/mgmt/daemon/src/dmnCfg.c index d3cdc30870178ab25da3cedd07c36e7bc947e0d2..85a9a28750aea79a2f835e2b511054350a622bd5 100644 --- a/source/dnode/mgmt/daemon/src/dmnCfg.c +++ b/source/dnode/mgmt/daemon/src/dmnCfg.c @@ -70,7 +70,7 @@ static int32_t dmnAddDnodeCfg(SConfig *pCfg) { if (cfgAddTimezone(pCfg, "timezone", "") != 0) return -1; if (cfgAddLocale(pCfg, "locale", "") != 0) return -1; if (cfgAddCharset(pCfg, "charset", "") != 0) return -1; - if (cfgAddInt32(pCfg, "numOfCores", 1, 1, 100000) != 0) return -1; + if (cfgAddInt32(pCfg, "numOfCores", 2, 1, 100000) != 0) return -1; if (cfgAddInt32(pCfg, "numOfCommitThreads", 4, 1, 1000) != 0) return -1; if (cfgAddBool(pCfg, "telemetryReporting", 0) != 0) return -1; if (cfgAddBool(pCfg, "enableCoreFile", 0) != 0) return -1;