fix: compile error
This commit is contained in:
parent
9026a46c6f
commit
b6dbc462c8
|
@ -2051,9 +2051,6 @@ static void syncNodeEqPeerHeartbeatTimer(void* param, void* tmrId) {
|
||||||
// update reset time
|
// update reset time
|
||||||
int64_t timerElapsed = tsNow - pSyncTimer->timeStamp;
|
int64_t timerElapsed = tsNow - pSyncTimer->timeStamp;
|
||||||
pSyncTimer->timeStamp = tsNow;
|
pSyncTimer->timeStamp = tsNow;
|
||||||
char logBuf[64];
|
|
||||||
snprintf(logBuf, sizeof(logBuf), "timer-elapsed:%" PRId64 ", next-exec:%" PRId64, timerElapsed,
|
|
||||||
pData->execTime);
|
|
||||||
|
|
||||||
// send msg
|
// send msg
|
||||||
syncLogSendHeartbeat(pSyncNode, pSyncMsg, false, timerElapsed, pData->execTime);
|
syncLogSendHeartbeat(pSyncNode, pSyncMsg, false, timerElapsed, pData->execTime);
|
||||||
|
|
Loading…
Reference in New Issue