]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: servers: fix last_sess date calculation
authorWilly Tarreau <w@1wt.eu>
Thu, 23 Apr 2026 09:24:22 +0000 (11:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Apr 2026 09:55:45 +0000 (11:55 +0200)
commit0b6e47354c45e76265a333f9256c21d363fff707
tree7b0adbf18f848b453c5946944b510348b5e8c58b
parent055726a4c94535aa9aeec435aa8145070f2106b8
BUG/MINOR: servers: fix last_sess date calculation

In 3.4-dev8, commit e264523112 ("MINOR: servers: Don't update last_sess
if it did not change") adjusted the last_sess date to avoid writing to
the same cache line all the time, however a typo makes it pick the wrong
second because it uses now_ms instead of now_ns (so the date would roughly
change every 12 days).

No backport needed.
include/haproxy/server.h