]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[OPTIM] maintain_proxies: only wake up when the frontend will be ready
authorWilly Tarreau <w@1wt.eu>
Fri, 6 Mar 2009 07:27:10 +0000 (08:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 Mar 2009 07:27:10 +0000 (08:27 +0100)
commitefcbc6e66d2e526bad4ad1c02e1ec2b29452b1da
treea2772a9d8186c949f893c78686d52ea74c93ea1a
parentbb9251ed8fc4e79c40f5b4459d20cecb4428fb1c
[OPTIM] maintain_proxies: only wake up when the frontend will be ready

It's not needed to try to check the frontend's freq counter every
millisecond, we can precisely compute when to wake up.
src/proxy.c