You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented basic timeout support locally, but due to the way errors are handled and the connection close is handled, this causes a timeout amplification of +/- 4-5x as the exception during timeout causes a connection close, which will try to cleanly end the connection, which causes a commit which times out, which causes a rollback, which times out and then a connection close, which times out.
This may need to be revised further to force an abrupt connection close by forcing the socket to close, however in the current implementation that is not easy to achieve.
Submitted by: @mrotteveel
Add support for JDBC 4.1 setNetworkTimeout()/getNetworkTimeout().
Initial implementation will only set the SO_TIMEOUT of the socket.
Commits: 732690e
The text was updated successfully, but these errors were encountered: