sync io
This commit is contained in:
parent
2796c0d171
commit
7607169b17
|
@ -431,22 +431,3 @@ static void syncIOTickPing(void *param, void *tmrId) {
|
|||
|
||||
taosTmrReset(syncIOTickPing, io->pingTimerMS, io, io->timerMgr, &io->pingTimer);
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
||||
|
||||
static void syncIOTickPingFunc(void *param, void *tmrId) {
|
||||
SSyncIO *io = (SSyncIO *)param;
|
||||
sTrace("<-- syncIOTickPingFunc -->");
|
||||
|
||||
SRpcMsg rpcMsg;
|
||||
rpcMsg.contLen = 64;
|
||||
rpcMsg.pCont = rpcMallocCont(rpcMsg.contLen);
|
||||
snprintf(rpcMsg.pCont, rpcMsg.contLen, "%s", "syncIOTickPing");
|
||||
rpcMsg.handle = NULL;
|
||||
rpcMsg.msgType = 77;
|
||||
|
||||
rpcSendRequest(io->clientRpc, &io->myAddr, &rpcMsg, NULL);
|
||||
taosTmrReset(syncIOTickPingFunc, 1000, io, io->ioTimerManager, &io->ioTimerTickPing);
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue