]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: applet: make the call_rate only count the no-progress calls
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Jul 2022 18:36:15 +0000 (20:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 Aug 2022 18:19:11 +0000 (20:19 +0200)
commitdf3cab1ca176a372908764de28b5273cbe6c4e61
tree7c5e0b91f3c6dddc46b6da141551dcf87999d118
parent8a3f58280f38849095d20769c794d92e2d519781
BUG/MINOR: applet: make the call_rate only count the no-progress calls

This is very similar to what we did in commit 6c539c4b8 ("BUG/MINOR:
stream: make the call_rate only count the no-progress calls"), it's
better to only count the call rate with no progress than to count all
calls and try to figure if there's no progress, because a fast running
applet might once satisfy the whole condition and trigger the bug. This
typically happens when artificially limiting the number of messages sent
at once by an applet, but could happen with plenty of highly interactive
applets.

This patch could be backported to stable versions if there are any
indications that it might be useful there.
src/applet.c