mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05: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
1 changed files with 2 additions and 3 deletions
|
|
@ -2206,12 +2206,11 @@ static void init(int argc, char **argv)
|
|||
*/
|
||||
global.nbtgroups = 1;
|
||||
global.nbthread = 1;
|
||||
/* master CLI */
|
||||
mworker_create_master_cli();
|
||||
}
|
||||
}
|
||||
|
||||
if (master)
|
||||
mworker_create_master_cli();
|
||||
|
||||
/* destroy unreferenced defaults proxies */
|
||||
proxy_destroy_all_unref_defaults();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue