-
-
Notifications
You must be signed in to change notification settings - Fork 137
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.