From dafde51767504d86f09caa74cf72e5259d6c045b Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Mon, 26 Sep 2022 16:40:15 +0800 Subject: [PATCH] fix: do not send ttl msg on taosd startup --- source/dnode/mnode/impl/src/mndMain.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/dnode/mnode/impl/src/mndMain.c b/source/dnode/mnode/impl/src/mndMain.c index b945a2551c..e6b6aaacf1 100644 --- a/source/dnode/mnode/impl/src/mndMain.c +++ b/source/dnode/mnode/impl/src/mndMain.c @@ -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); } -- GitLab