]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli/server: don't take thread isolation to check for srv-removable
authorWilly Tarreau <w@1wt.eu>
Tue, 18 Mar 2025 10:41:51 +0000 (11:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Mar 2025 16:36:02 +0000 (17:36 +0100)
commit6336b636f7ba108880b82093ee54de41ca561165
tree9ca04915cb10ff4bddc62b5bc166c3e8bd02ca83
parentaad8e74cb9c382c5a0ab1a53aff0e38b06ce6806
MINOR: cli/server: don't take thread isolation to check for srv-removable

Thanks to the previous commits, we now know that "wait srv-removable"
does not require thread isolation, as long as 3372a2ea00 ("BUG/MEDIUM:
queues: Stricly respect maxconn for outgoing connections") and c880c32b16
("MINOR: stream: decrement srv->served after detaching from the list")
are present. Let's just get rid of thread_isolate() here, which can
consume a lot of CPU on highly threaded machines when removing many
servers at once.
src/cli.c