fix: do not send ttl msg on taosd startup

This commit is contained in:
Shengliang Guan 2022-09-26 16:40:15 +08:00
parent f9678ebba1
commit dafde51767
1 changed files with 3 additions and 3 deletions

View File

@ -127,15 +127,15 @@ static void *mndThreadFp(void *param) {
mndPullupTtl(pMnode);
}
if (sec % tsTransPullupInterval * 10 == 0) {
if (sec % tsTransPullupInterval == 0) {
mndPullupTrans(pMnode);
}
if (sec % tsMqRebalanceInterval * 10 == 0) {
if (sec % tsMqRebalanceInterval == 0) {
mndCalMqRebalance(pMnode);
}
if (sec % tsTelemInterval * 10 == (MIN(60, (tsTelemInterval - 1)))) {
if (sec % tsTelemInterval == (MIN(60, (tsTelemInterval - 1)))) {
mndPullupTelem(pMnode);
}