]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: peers: Don't set TEACH flags on a peer from the sync task
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 Apr 2024 07:32:55 +0000 (09:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Apr 2024 16:29:57 +0000 (18:29 +0200)
commitf80f1635ecdcd998460345c726949a779ccbfb6e
tree24b662c608dc288eb57b98028756a5bd04d4024e
parent6380fd5eb9d5a676a6ee23113131a071fd2d5504
MINOR: peers: Don't set TEACH flags on a peer from the sync task

The TEACH flags only concerns the peer applet. There is no reason to set it
from the sync task. It is confusing. And at the end, after some
refactoring/fixes, setting these flags directly from the peer applet will
allow us to immediatly performing the corresponding teach processing, while
for now we must wait the sync task acknowledges the changes.
src/peers.c