A couple of bug-fixes for opensource branch.

This commit is contained in:
ml0
2021-07-23 00:27:13 +08:00
committed by wangzelin.wzl
parent 192f6aee4f
commit 49b53c4570
10 changed files with 94 additions and 44 deletions

View File

@ -156,7 +156,7 @@ void ObNetEasy::update_eio_sql_tcp_keepalive(easy_io_t* eio, int64_t user_timeou
eio->tcp_keepintvl = max(tcp_keepintvl / 1000000, 1);
eio->tcp_keepcnt = tcp_keepcnt;
eio->conn_timeout = user_timeout / 1000;
eio->ack_timeout = user_timeout / 1000;
eio->ack_timeout = 0;
}
}