mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
CLEANUP: server: fix update_status() function comment
srv_update_status() function comment says that the function "is designed to be called asynchronously". While this used to be true back then with64cc49cf("MAJOR: servers: propagate server status changes asynchronously.") This is not true anymore since3ff577e("MAJOR: server: make server state changes synchronous again") Fixing the comment in order to better reflect current behavior.
This commit is contained in:
parent
88687f0980
commit
0ddf052972
1 changed files with 1 additions and 2 deletions
|
|
@ -5270,8 +5270,7 @@ int srv_apply_track(struct server *srv, struct proxy *curproxy)
|
|||
}
|
||||
|
||||
/*
|
||||
* This function applies server's status changes, it is
|
||||
* is designed to be called asynchronously.
|
||||
* This function applies server's status changes.
|
||||
*
|
||||
* Must be called with the server lock held. This may also be called at init
|
||||
* time as the result of parsing the state file, in which case no lock will be
|
||||
|
|
|
|||
Loading…
Reference in a new issue