diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 58f144c5871ff7ec6b32095d05d06f92fc887dc8..aa5962a846088437fd228a17581a51c5c6a89413 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 865e1159c1995b2796682d64ee06de02442b7a25..eef3ff43eefd0f023cb497743683ebbf5665a2ae 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;