Skip to content

Commit

Permalink
fix: update telemetry and trans timer
Browse files Browse the repository at this point in the history
  • Loading branch information
guanshengliang committed Aug 23, 2022
1 parent 3099b4a commit aca3d91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/dnode/mnode/impl/src/mndMain.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ static void *mndThreadFp(void *param) {
mndTtlTimer(pMnode);
}

if (lastTime % (tsTransPullupInterval * 10) == 0) {
if (lastTime % (tsTransPullupInterval * 10) == 10) {
mndPullupTrans(pMnode);
}

if (lastTime % (tsMqRebalanceInterval * 10) == 0) {
mndCalMqRebalance(pMnode);
}

if (lastTime % (tsTelemInterval * 10) == 0) {
if (lastTime % (tsTelemInterval * 10) == 30) {
mndPullupTelem(pMnode);
}

Expand Down

0 comments on commit aca3d91

Please sign in to comment.