mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-14 23:44:41 +00:00
MINOR: add master-worker in the warning about nbproc
This commit is contained in:
parent
62a124977b
commit
cc113822a7
@ -1749,7 +1749,7 @@ static void init(int argc, char **argv)
|
||||
|
||||
if ((global.nbproc > 1) && !(global.mode & (MODE_DAEMON | MODE_MWORKER))) {
|
||||
if (!(global.mode & (MODE_FOREGROUND | MODE_DEBUG)))
|
||||
Warning("<nbproc> is only meaningful in daemon mode. Setting limit to 1 process.\n");
|
||||
Warning("<nbproc> is only meaningful in daemon mode or master-worker mode. Setting limit to 1 process.\n");
|
||||
global.nbproc = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user