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
Maximum time to wait while connecting, in seconds (write as a decimal integer, e.g., 10).
Zero, negative, or not specified means wait indefinitely.
The minimum allowed timeout is 2 seconds, therefore a value of 1 is interpreted as 2.
This timeout applies separately to each host name or IP address.
For example, if you specify two hosts and connect_timeout is 5, each host will time out if no connection is made within 5 seconds, so the total time spent waiting for a connection might be up to 10 seconds.
Activity
vonzshik commentedon Mar 28, 2021
From libpq
connect_timeout:roji commentedon Mar 28, 2021
As discussed offline, we should just align with libpq on this - especially since dividing the global timeout per-host really isn't trivial.