commit | a70042067180b4fa068909a2bff48227bb8e3c98 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Sep 21 07:37:27 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 21 09:06:28 2022 +0200 |
tree | 42d431801e6aada7a3789442c4b3bc2adfe1554f | |
parent | ae1e14d65b4e96c01a02e100a76d10c06b341df3 [diff] |
MINOR: clock: split local and global date updates Pollers that support busy polling spend a lot of time (and cause contention) updating the global date when they're looping over themselves while it serves no purpose: what's needed is only an update on the local date to know when to stop looping. This patch splits clock_pudate_date() into a pair of local and global update functions, so that pollers can be easily improved.