MEDIUM: cli: worker socketpair is unstoppable
In master-worker mode, the socketpair CLI listener of the worker is now marked unstoppable, which allows to connect to the CLI of an old process which is in a leaving state, allowing to debug it.
This commit is contained in:
parent
c59f9884d7
commit
a337229ac2
@ -2336,7 +2336,7 @@ int mworker_cli_sockpair_new(struct mworker_proc *mworker_proc, int proc)
|
||||
l->backlog = global.stats_fe->backlog;
|
||||
l->accept = session_accept_fd;
|
||||
l->default_target = global.stats_fe->default_target;
|
||||
l->options |= LI_O_UNLIMITED;
|
||||
l->options |= (LI_O_UNLIMITED | LI_O_NOSTOP);
|
||||
/* it's a sockpair but we don't want to keep the fd in the master */
|
||||
l->options &= ~LI_O_INHERITED;
|
||||
l->nice = -64; /* we want to boost priority for local stats */
|
||||
|
Loading…
x
Reference in New Issue
Block a user