fix: taosSetServerCfg return
This commit is contained in:
parent
eeb7991680
commit
00ce16ed44
|
@ -1152,7 +1152,7 @@ static int32_t taosSetServerCfg(SConfig *pCfg) {
|
||||||
tsSlowLogThreshold = cfgGetItem(pCfg, "slowLogThreshold")->i32;
|
tsSlowLogThreshold = cfgGetItem(pCfg, "slowLogThreshold")->i32;
|
||||||
tsSlowLogMaxLen = cfgGetItem(pCfg, "slowLogMaxLen")->i32;
|
tsSlowLogMaxLen = cfgGetItem(pCfg, "slowLogMaxLen")->i32;
|
||||||
int32_t scope = 0;
|
int32_t scope = 0;
|
||||||
TAOS_RETURN(taosSetSlowLogScope(cfgGetItem(pCfg, "slowLogScope")->str, &scope));
|
TAOS_CHECK_RETURN(taosSetSlowLogScope(cfgGetItem(pCfg, "slowLogScope")->str, &scope));
|
||||||
tsSlowLogScope = scope;
|
tsSlowLogScope = scope;
|
||||||
|
|
||||||
tsEnableMonitor = cfgGetItem(pCfg, "monitor")->bval;
|
tsEnableMonitor = cfgGetItem(pCfg, "monitor")->bval;
|
||||||
|
|
Loading…
Reference in New Issue