]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server: add the srv_queue() sample fetch method
authorWilly Tarreau <w@1wt.eu>
Fri, 13 Oct 2017 09:46:26 +0000 (11:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 Oct 2017 09:47:18 +0000 (11:47 +0200)
commitff2b7afe0b72874e158400aaa58f413dda030489
treef06e8b212dfe49256ccac599a86a70c8f158927d
parentdce734e10f5c2218e94b48dd28e1d4df86a7c3d0
MINOR: server: add the srv_queue() sample fetch method

srv_queue([<backend>/]<server>) : integer
  Returns an integer value corresponding to the number of connections currently
  pending in the designated server's queue. If <backend> is omitted, then the
  server is looked up in the current backend. It can sometimes be used together
  with the "use-server" directive to force to use a known faster server when it
  is not much loaded. See also the "srv_conn", "avg_queue" and "queue" sample
  fetch methods.
doc/configuration.txt
src/backend.c