Open
Description
I am seeing an issue where the query doesn't timeout and the client connection stays indefinitely even when the server goes down.
I check out a client using pool.connect() and then call client.query()
I used a query that runs 30 seconds. Before the query completes, i bring down network connection to the server and this results in query being stuck forever.
I tried it using query_timeout and as expected client.query() fails with "Query read timeout" error if the network connection to server is lost. But when i try the next query, i don't see any packets being sent out and the next query also times out with the above error.
Please let me know if there is a way to solve this query being stuck issue.
Metadata
Metadata
Assignees
Labels
No labels