]> git.kaiwu.me - haproxy.git/commit
MINOR: cli: ability to set per-server maxconn
authorAndrew Hayworth <andrew.hayworth@getbraintree.com>
Tue, 27 Oct 2015 21:46:25 +0000 (21:46 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 28 Oct 2015 07:01:56 +0000 (08:01 +0100)
commitedb93a7c280ef134ded39a2d1b12fe614b1501b0
tree47962697ed6322d4c68b0fdaf239fec21ff8b3c3
parentd1b0f7c3e0b7e64cedcc67e7088645277617edc5
MINOR: cli: ability to set per-server maxconn

This commit adds support for setting a per-server maxconn from the stats
socket. The only really notable part of this commit is that we need to
check if maxconn == minconn before changing things, as this indicates
that we are NOT using dynamic maxconn. When we are not using dynamic
maxconn, we should update maxconn/minconn in lockstep.
doc/management.txt
src/dumpstats.c