提交 dafde517 编写于 作者: S Shengliang Guan

fix: do not send ttl msg on taosd startup

上级 f9678ebb
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册