telemetry refactor
This commit is contained in:
parent
6e964c69ee
commit
d586026e25
|
@ -410,11 +410,9 @@ void mndDoTimerPullupTask(SMnode *pMnode, int64_t sec) {
|
||||||
mndStreamConsensusChkpt(pMnode);
|
mndStreamConsensusChkpt(pMnode);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef TD_ENTERPRISE
|
if (sec % tsTelemInterval == (TMIN(86400, (tsTelemInterval - 1)))) {
|
||||||
if (sec % tsTelemInterval == (TMIN(60, (tsTelemInterval - 1)))) {
|
|
||||||
mndPullupTelem(pMnode);
|
mndPullupTelem(pMnode);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
if (sec % tsGrantHBInterval == 0) {
|
if (sec % tsGrantHBInterval == 0) {
|
||||||
mndPullupGrant(pMnode);
|
mndPullupGrant(pMnode);
|
||||||
|
|
Loading…
Reference in New Issue