tomyeh/postgresql

Connection pool shall not connect immediately when detecting server crashes (57P02)

tomyeh opened this issue · 0 comments

When server crashes, it takes a couple minutes to start. In this case, it is better to retry or wait a while. Thus, it is likely the caller (of connect) won't be affected, i.e., connect simply waits a bit longer than throwing back an exception immediately.