]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: mworker: set nbthread=1 for master after fork
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Mon, 1 Jul 2024 12:10:14 +0000 (14:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Oct 2024 20:02:39 +0000 (22:02 +0200)
commit26e53e2e8c2d3b65d6bca4fabff7cb0d185ae8f4
treecec499b00b9ed0731fd6f2ede92d3a15de59c2e8
parentae84f060253f5ab01b3b20618f575a8df162c897
REORG: mworker: set nbthread=1 for master after fork

After moving master-worker fork into init() and reintroducing it into a
switch-case (see the previous commit), it is more appropriate to set
nbthread=1 and nbtgroups=1 immediately in the 'case' for the parent process.
src/haproxy.c