From 0ddf052972af0ca19e7c33903e008a3c830c303d Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Mon, 27 Mar 2023 11:57:28 +0200 Subject: [PATCH] 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 with 64cc49cf ("MAJOR: servers: propagate server status changes asynchronously.") This is not true anymore since 3ff577e ("MAJOR: server: make server state changes synchronous again") Fixing the comment in order to better reflect current behavior. --- src/server.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server.c b/src/server.c index add9d77..1247537 100644 --- a/src/server.c +++ b/src/server.c @@ -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 -- 1.7.10.4