fix: compile error

This commit is contained in:
Shengliang Guan 2022-11-26 11:56:13 +08:00
parent 9026a46c6f
commit b6dbc462c8
1 changed files with 0 additions and 3 deletions

View File

@ -2051,9 +2051,6 @@ static void syncNodeEqPeerHeartbeatTimer(void* param, void* tmrId) {
// update reset time
int64_t timerElapsed = tsNow - pSyncTimer->timeStamp;
pSyncTimer->timeStamp = tsNow;
char logBuf[64];
snprintf(logBuf, sizeof(logBuf), "timer-elapsed:%" PRId64 ", next-exec:%" PRId64, timerElapsed,
pData->execTime);
// send msg
syncLogSendHeartbeat(pSyncNode, pSyncMsg, false, timerElapsed, pData->execTime);