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:
William Lallemand 2021-07-28 17:40:56 +02:00
parent 6bb77b9c64
commit d11c5728b4

View File

@ -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");