From d586026e258ffef7c7b4d85be18b11c79ca5a3fa Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Sun, 15 Dec 2024 18:01:21 +0800 Subject: [PATCH] telemetry refactor --- source/dnode/mnode/impl/src/mndMain.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/dnode/mnode/impl/src/mndMain.c b/source/dnode/mnode/impl/src/mndMain.c index 2ee128e29d..c3fb4164b3 100644 --- a/source/dnode/mnode/impl/src/mndMain.c +++ b/source/dnode/mnode/impl/src/mndMain.c @@ -410,11 +410,9 @@ void mndDoTimerPullupTask(SMnode *pMnode, int64_t sec) { mndStreamConsensusChkpt(pMnode); } -#ifndef TD_ENTERPRISE - if (sec % tsTelemInterval == (TMIN(60, (tsTelemInterval - 1)))) { + if (sec % tsTelemInterval == (TMIN(86400, (tsTelemInterval - 1)))) { mndPullupTelem(pMnode); } -#endif if (sec % tsGrantHBInterval == 0) { mndPullupGrant(pMnode);