diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 8a645d5761b0e935a4051d66c13b68869739708e..e84217b38b05581018ca7b61f694d866fe1bd29e 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -178,7 +178,7 @@ void tscProcessHeartBeatRsp(void *param, TAOS_RES *tres, int code) { } if (pObj->pHb != NULL) { - int64_t waitingDuring = tsShellActivityTimer * 500; + int32_t waitingDuring = tsShellActivityTimer * 500; tscDebug("%p start heartbeat in %"PRId64"ms", pSql, waitingDuring); taosTmrReset(tscProcessActivityTimer, waitingDuring, pObj, tscTmr, &pObj->pTimer);