This commit is contained in:
Haojun Liao 2020-07-28 11:42:52 +08:00
parent fe05941584
commit 11a6492406
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ static taos_qset readQset;
int32_t dnodeInitVnodeRead() {
readQset = taosOpenQset();
readPool.min = 4;
readPool.min = 32;
readPool.max = tsNumOfCores * tsNumOfThreadsPerCore;
if (readPool.max <= readPool.min * 2) readPool.max = 2 * readPool.min;
readPool.readWorker = (SReadWorker *)calloc(sizeof(SReadWorker), readPool.max);