mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 14:17:30 -04: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
5df54f4796
commit
bdcfacdb78
1 changed files with 2 additions and 0 deletions
|
|
@ -3385,6 +3385,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;
|
||||
|
|
@ -3554,6 +3555,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 a new issue