Introduce a new configuration setting: query_wait_timeout
authorMarko Kreen <markokr@gmail.com>
Fri, 12 Feb 2010 19:05:04 +0000 (19:05 +0000)
committerMarko Kreen <markokr@gmail.com>
Fri, 12 Feb 2010 19:05:04 +0000 (19:05 +0000)
commited4f609aca99bf1dfdac995c0acfd940cedafd3b
tree73aa08bf8961c2a1f4ec8e5c792ee1abe395d40f
parent3582ae420677b869bcdfc3c7012500cab2807f53
Introduce a new configuration setting: query_wait_timeout

If a query spends more than query_wait_timeout seconds waiting
it is disconnected. This prevents unresponsive servers from
wasting resources.

Patch by Martin Pihlak
doc/config.txt
etc/pgbouncer.ini
include/bouncer.h
src/janitor.c
src/main.c