mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
REORG: mworker: move mworker_create_master_cli in master 'case'
Let's move mworker_create_master_cli() call in 'master' case just above and get rid of redundant global.mode tests.
This commit is contained in:
parent
e4c10a704d
commit
7a2ee10d71
@ -2206,11 +2206,10 @@ static void init(int argc, char **argv)
|
|||||||
*/
|
*/
|
||||||
global.nbtgroups = 1;
|
global.nbtgroups = 1;
|
||||||
global.nbthread = 1;
|
global.nbthread = 1;
|
||||||
}
|
/* master CLI */
|
||||||
}
|
|
||||||
|
|
||||||
if (master)
|
|
||||||
mworker_create_master_cli();
|
mworker_create_master_cli();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* destroy unreferenced defaults proxies */
|
/* destroy unreferenced defaults proxies */
|
||||||
proxy_destroy_all_unref_defaults();
|
proxy_destroy_all_unref_defaults();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user