conn timeout refactor

This commit is contained in:
yihaoDeng 2022-11-11 21:42:23 +08:00
parent 174ba6ad6e
commit 5a0da6d28d
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ void cliConnTimeout(uv_timer_t* handle) {
taosArrayPush(pThrd->timerList, &conn->timer);
conn->timer = NULL;
cliHandleExceptImpl(conn, TSDB_CODE_RPC_TIMEOUT);
cliHandleExceptImpl(conn, -1);
}
void cliReadTimeoutCb(uv_timer_t* handle) {
// set up timeout cb