commit | f37ba94768b0890374e26b64fb8a0fae0a504bf5 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Oct 17 11:25:54 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Oct 17 19:59:43 2018 +0200 |
tree | cce9d7eba56d9f018a112b4e7345de8769957eb1 | |
parent | b75e828b298c958beb10c830a1ccb3df0840c30c [diff] |
MINOR: fd: centralize poll timeout computation in compute_poll_timeout() The 4 pollers all contain the same code used to compute the poll timeout. This is pointless, let's centralize this into fd.h. This also gets rid of the useless SCHEDULER_RESOLUTION macro which used to work arond a very old linux 2.2 bug causing select() to wake up slightly before the timeout.