telemetry refactor

This commit is contained in:
yihaoDeng 2024-12-15 18:01:21 +08:00
parent 6e964c69ee
commit d586026e25
1 changed files with 1 additions and 3 deletions

View File

@ -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);