OPTIM: lb-first: do not take the server lock on take_conn/drop_conn
authorWilly Tarreau <w@1wt.eu>
Wed, 17 Feb 2021 15:15:23 +0000 (16:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Feb 2021 09:06:45 +0000 (10:06 +0100)
commit6b96e0e9d204bb7e30222964d641cc28a0e4d0c0
tree1ab8633ed3955e169fb04e9c0e26edbb31e4b38d
parent59b0fecfd9f2fe96f6a9c2d1d4fbe34f71adb6e3
OPTIM: lb-first: do not take the server lock on take_conn/drop_conn

The operations are only an insert and a delete into the LB tree, which
doesn't require the server's lock at all as the lbprm lock is already
held. Let's drop it.
src/lb_fas.c