]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: clock/stats: also use start_time not start_date in HTML info
authorWilly Tarreau <w@1wt.eu>
Fri, 10 Feb 2023 15:53:35 +0000 (16:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Feb 2023 15:53:35 +0000 (16:53 +0100)
commitb685ad0774a6b4040f0422b4f3c2ddae9de0cade
tree22a0e193fc94ca1abaf20941ca05e272a7fb92db
parent2776e775ecccc555a1d079af03d2747e825c2b96
BUG/MINOR: clock/stats: also use start_time not start_date in HTML info

For an unknown reason in the change of uptime calculation for the HTML
page didn't make it to commit 6093ba47c ("BUG/MINOR: clock: do not mix
wall-clock and monotonic time in uptime calculation"). Let's address it
as well otherwise the stats page will display an incorrect uptime.

No backport needed unless the patch above is backported.
src/stats.c