mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-11 14:05:12 +00:00
MINOR: peers: export process_peer_sync() to improve traces
This one will probably pop up from time to time in "show profiling", better have it resolve.
This commit is contained in:
parent
025fc71b47
commit
f6c88421b7
@ -2867,9 +2867,10 @@ static struct appctx *peer_session_create(struct peers *peers, struct peer *peer
|
||||
|
||||
/*
|
||||
* Task processing function to manage re-connect, peer session
|
||||
* tasks wakeup on local update and heartbeat.
|
||||
* tasks wakeup on local update and heartbeat. Let's keep it exported so that it
|
||||
* resolves in stack traces and "show tasks".
|
||||
*/
|
||||
static struct task *process_peer_sync(struct task * task, void *context, unsigned short state)
|
||||
struct task *process_peer_sync(struct task * task, void *context, unsigned short state)
|
||||
{
|
||||
struct peers *peers = context;
|
||||
struct peer *ps;
|
||||
|
Loading…
Reference in New Issue
Block a user