mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-17 11:06:54 +00:00
MINOR: peers: Add comment on processing functions of the sync task
Just add a comment on __process_running_peer_sync() and __process_stopping_peer_sync() functions.
This commit is contained in:
parent
9a343467f3
commit
b328edbeab
@ -3390,6 +3390,7 @@ static void sync_peer_app_state(struct peers *peers, struct peer *peer)
|
||||
}
|
||||
}
|
||||
|
||||
/* Process the sync task for a running process. It is called from process_peer_sync() only */
|
||||
static void __process_running_peer_sync(struct task *task, struct peers *peers, unsigned int state)
|
||||
{
|
||||
struct peer *ps;
|
||||
@ -3559,6 +3560,7 @@ static void __process_running_peer_sync(struct task *task, struct peers *peers,
|
||||
}
|
||||
}
|
||||
|
||||
/* Process the sync task for a stopping process. It is called from process_peer_sync() only */
|
||||
static void __process_stopping_peer_sync(struct task *task, struct peers *peers, unsigned int state)
|
||||
{
|
||||
struct peer *ps;
|
||||
|
Loading…
Reference in New Issue
Block a user