]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: servers: Don't update last_sess if it did not change
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 1 Apr 2026 13:08:26 +0000 (15:08 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 1 Apr 2026 13:06:55 +0000 (15:06 +0200)
commite264523112b94ceacf34428d1bdd4e8eea4a813d
tree8136534ed80112b373460b94e1bcd73d162d8559
parenteaf42ee886546ee889767841bce1b813521dd16a
MINOR: servers: 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/server.h