]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: servers: Add a counter for the number of currently used connections.
authorOlivier Houchard <cognet@ci0.org>
Wed, 25 Mar 2020 18:41:03 +0000 (19:41 +0100)
committerOlivier Houchard <cognet@ci0.org>
Sun, 29 Mar 2020 22:30:01 +0000 (00:30 +0200)
commitcf612a0457bd9e658d772dc426064d3865c89ff7
tree5894259af22ac220720d253e9df6d1e23e50741d
parent824186bb087250089b80862ccb56d3971af6a2d2
MINOR: servers: Add a counter for the number of currently used connections.

Add a counter to know the current number of used connections, as well as the
max, this will be used later to refine the algorithm used to kill idle
connections, based on current usage.
include/proto/connection.h
include/proto/server.h
include/types/server.h
src/backend.c