]> granicus.if.org Git - pgbouncer/commit
fix launching new connections during maintenance
authorCody Cutrer <cody@instructure.com>
Mon, 26 Aug 2013 20:30:27 +0000 (14:30 -0600)
committerCody Cutrer <cody@instructure.com>
Fri, 27 Sep 2013 19:37:37 +0000 (13:37 -0600)
commit3bb254281be40dcd3e6befab4d24c5a3a7590063
tree5c514738e0848cc0694166e518096183597c8a30
parentfdf7f8be638276471e8918ba9f9b2c92f91acbbf
fix launching new connections during maintenance

match up waiting connections with tested/used until we run out.
launches new connection if there are more waiting than could be
fulfilled by refreshing current connections. this situation can
happen if you have high churn on client connections (i.e. with
transaction pooling), such that there is *always* at least one
connection in sv_tested or sv_used.
src/janitor.c