提交 2652d782 编写于 作者: A Alex Duan

fix(rpc): send probe msg loop move next

上级 3c6158d4
......@@ -343,6 +343,9 @@ void checkBrokenQueries(STscObj *pTscObj) {
dealConnBroken(pSubSql);
}
}
// move next
pSql = pSql->next;
}
}
......@@ -363,11 +366,11 @@ void tscProcessActivityTimer(void *handle, void *tmrId) {
// check queries already death
static int activetyTimerCnt = 0;
if (++activetyTimerCnt > 10) { // 1.5s * 10 = 15s interval call
if (++activetyTimerCnt > 5) { // 1.5s * 10 = 15s interval call
activetyTimerCnt = 0;
// call check if have query doing
if(pObj->sqlList && pObj->sqlList->next) {
if(pObj->sqlList) {
// have queries executing
checkBrokenQueries(pObj);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册