From 1d95d025aa0a19978e188086a2fed1030a39df97 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Thu, 22 Dec 2022 21:03:22 +0800 Subject: [PATCH] fix(mnode): change tsMaxTmrCtrlto 20480 --- src/common/src/tglobal.c | 2 +- src/util/src/ttimer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 58f144c587..aa5962a846 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -729,7 +729,7 @@ static void doInitGlobalConfig(void) { cfg.valType = TAOS_CFG_VTYPE_INT32; cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG | TSDB_CFG_CTYPE_B_SHOW; cfg.minValue = 8; - cfg.maxValue = 2048; + cfg.maxValue = 20480; cfg.ptrLength = 0; cfg.unitType = TAOS_CFG_UTYPE_NONE; taosInitConfigOption(cfg); diff --git a/src/util/src/ttimer.c b/src/util/src/ttimer.c index 865e1159c1..eef3ff43ee 100644 --- a/src/util/src/ttimer.c +++ b/src/util/src/ttimer.c @@ -84,7 +84,7 @@ typedef struct time_wheel_t { } time_wheel_t; int32_t tmrDebugFlag = 131; -uint32_t tsMaxTmrCtrl = 512; +uint32_t tsMaxTmrCtrl = 20480; static pthread_once_t tmrModuleInit = PTHREAD_ONCE_INIT; static pthread_mutex_t tmrCtrlMutex; -- GitLab