[TD-2839]<fix>: set tsOfflineThreshold max <- 86400 * 365

This commit is contained in:
Minglei Jin 2021-01-25 19:03:14 +08:00
parent a2da000145
commit e19272903d
1 changed files with 1 additions and 1 deletions

View File

@ -550,7 +550,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 = 3;
cfg.maxValue = 7200000;
cfg.maxValue = 86400 * 365;
cfg.ptrLength = 0;
cfg.unitType = TAOS_CFG_UTYPE_SECOND;
taosInitConfigOption(cfg);