1

I found this at official postresql documentation page

connect_timeout Maximum wait for connection, in seconds (write as a decimal integer string). Zero or not specified means wait indefinitely. It is not recommended to use a timeout of less than 2 seconds.

Why not less than 2 seconds?

  • It's just a recommendation, not a rule. A network retry or slow latency connection would be a lot more likely to fail. – Joe Love Dec 19 '16 at 15:03

0 Answers0