]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] sessions: only wake waiting listeners up if rate limit is OK
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Jul 2011 06:37:44 +0000 (08:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Jul 2011 06:37:44 +0000 (08:37 +0200)
commitb32907b6c72a638f803459670817e8d3f20077ac
tree703039e7b7034dc7b3cb30b4f04ca0356f70c01d
parentd408bd40f3f4f2886487466c48cef9c0f18cb857
[MINOR] sessions: only wake waiting listeners up if rate limit is OK

Instead of waking a listener up then making it sleep, we only wake them up
if we know their rate limit is fine. In the future we could improve on top
of that by deciding to wake a proxy-specific task in XX milliseconds to
take care of enabling the listeners again.
src/session.c