These are 2 new sample fetches which provide the available connections.
The be_conn_free fetch is similar to connslots, but has significant
difference in that it does not count queue slots, nor backup servers
(unless all servers are down).

These are intended to be useful in combination with the priority
queuing, so you can see how many connections are available, perhaps for
taking action when the number is low. For example by reserving
connections for high-priority requests, and rejecting low priority ones.

-Patrick

Patrick Hemmer (2):
  MINOR: add be_conn_free sample fetch
  MINOR: Add srv_conn_free sample fetch

 doc/configuration.txt | 34 +++++++++++++++++++++---
 src/backend.c         | 60 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+), 3 deletions(-)

-- 
2.18.0


Reply via email to