]> git.kaiwu.me - haproxy.git/commit
MINOR: backends: Don't update last_sess if it did not change
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 1 Apr 2026 13:01:09 +0000 (15:01 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 1 Apr 2026 12:58:59 +0000 (14:58 +0200)
commiteaf42ee886546ee889767841bce1b813521dd16a
tree97e721a3cb9edb80d28ba65129f970f3c78d0f9c
parent397530b1e9ebbc76a83c8c1cc08e218ce517fee0
MINOR: backends: Don't update last_sess if it did not change

Check that last_sess actually changed before attempting to set it, as it
should only change once every second, that will avoid a lot of atomic
writes on a busy cache line.
include/haproxy/backend.h