Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Query Timeout

Ohad Shai edited this page Dec 23, 2018 · 4 revisions

Query timeout is controlled on the Connection Configuration.queryTimeout.

When configured, it works in the following manner:
A timeout future is scheduled on TimeoutSchedulerPartialImpl. In case query was not completed before the timeout, it will complete exceptionally the query future and trigger Connection.disconnect().

In addition, the connection pool will also try to clean up queries that are their timeout elapsed 30 seconds after the timeout.

Clone this wiki locally