]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: spoe: Replace sending_rate by a frequency counter
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 Jan 2018 15:13:48 +0000 (16:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 2 Feb 2018 15:00:32 +0000 (16:00 +0100)
commit6f9ea4f87bad6d57e5f7cd4ffcee8cba3cb89bb9
tree76902302c3d79eb5cdd0282af72253fd18822ebc
parentfce747bbaa571dc8aaedd37cb1f34fed3183013e
MINOR: spoe: Replace sending_rate by a frequency counter

sending_rate was a counter used to evaluate the SPOE capacity to process
frames. Because it was not really accurrate, it has been replaced by a frequency
counter representing the number of frames handled by the SPOE per second. We
just check this counter is higher than the number of streams waiting for a
reply. If not, a new applet is created.
include/types/spoe.h
src/flt_spoe.c