change NumOfTaskQueueThreads size

This commit is contained in:
yihaoDeng 2023-10-31 14:14:44 +08:00
parent 25b09b467f
commit 9ba1a32dc8
1 changed files with 0 additions and 3 deletions

View File

@ -486,9 +486,6 @@ static int32_t taosAddClientCfg(SConfig *pCfg) {
tsNumOfTaskQueueThreads = tsNumOfCores / 2;
tsNumOfTaskQueueThreads = TMAX(tsNumOfTaskQueueThreads, 4);
if (tsNumOfTaskQueueThreads >= 10) {
tsNumOfTaskQueueThreads = 10;
}
if (cfgAddInt32(pCfg, "numOfTaskQueueThreads", tsNumOfTaskQueueThreads, 4, 1024, CFG_SCOPE_CLIENT) != 0) return -1;
return 0;