commit | 964c936b040dbd24a1b83309c54af25fe34cb95a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jan 07 00:38:00 2007 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jan 07 02:14:23 2007 +0100 |
tree | 8939abf25f50f0bc4b3f08470ce202404364f67b | |
parent | d59d22e20afb5e8734f1be24bdb804bac599b43b [diff] |
[MAJOR] replace the wait-queue linked list with an rbtree. This patch from Sin Yu makes use of an rbtree for the wait queue, which will solve the slowdown problem encountered when timeouts are heterogenous in the configuration. The next step will be to turn maintain_proxies() into a per-proxy task so that we won't have to scan them all after each poll() loop.