Merge pull request #23479 from taosdata/enh/changeQueue3.0

change NumOfTaskQueueThreads size
This commit is contained in:
Haojun Liao 2023-11-23 13:57:54 +08:00 committed by GitHub
commit 85e77d6f63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -513,6 +513,7 @@ static int32_t taosAddClientCfg(SConfig *pCfg) {
tsNumOfTaskQueueThreads = tsNumOfCores / 2;
tsNumOfTaskQueueThreads = TMAX(tsNumOfTaskQueueThreads, 4);
if (tsNumOfTaskQueueThreads >= 50) {
tsNumOfTaskQueueThreads = 50;
}