connection timeout #815
Replies: 2 comments 2 replies
-
I think you'd have to arrange that at the OS level. It's a question of how long the networking code is willing to wait for a connection to be established. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response. In Postgres 14 support connection timeout. If connection is ideal for certain period(given timeout). The connection will be destroyed once timeout is reached. If any possible to set the timeout during connection in connection string or any other way to set timeout.
I have tried the above sample. But it doesn't work as expected. How to achieve timeout, is there any other ways to set timeout? Please guide me. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Is there any ways to set timeout while connecting the database?
Beta Was this translation helpful? Give feedback.
All reactions