mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-01 14:38:28 +00:00
MINOR: mworker: the mworker CLI proxy is internal
Sets the mworker CLI proxy as a internal one (PR_CAP_INT) so we could exlude it from stats and other tests.
This commit is contained in:
parent
6bb77b9c64
commit
d11c5728b4
@ -2685,7 +2685,7 @@ int mworker_cli_proxy_create()
|
||||
mworker_proxy->id = strdup("MASTER");
|
||||
mworker_proxy->mode = PR_MODE_CLI;
|
||||
mworker_proxy->last_change = now.tv_sec;
|
||||
mworker_proxy->cap = PR_CAP_LISTEN; /* this is a listen section */
|
||||
mworker_proxy->cap = PR_CAP_LISTEN | PR_CAP_INT; /* this is a listen section */
|
||||
mworker_proxy->maxconn = 10; /* default to 10 concurrent connections */
|
||||
mworker_proxy->timeout.client = 0; /* no timeout */
|
||||
mworker_proxy->conf.file = strdup("MASTER");
|
||||
|
Loading…
Reference in New Issue
Block a user