]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: startup: don't dump polling info for master in verbose mode
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 30 Oct 2024 09:49:26 +0000 (10:49 +0100)
committerValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 30 Oct 2024 09:50:09 +0000 (10:50 +0100)
commitd3eb00e61d434ac6d4c7a4b1294d5d7c7fcea7a7
tree91d6c6b0095b3cba3cc536885fb4897c3c0c8101
parentbbe7828d497553701f6e32a2d55a9c820a49d293
BUG/MINOR: startup: don't dump polling info for master in verbose mode

As master-worker fork happens now before step_init_2(), when pollers are
initialized and polling settings and dumped then in verbose and in debug modes
to stdout, it turns out that master and worker dump its same polling
settings separately. This creates long and messy output in these modes.

Polling settings are the same for master and for worker process for the moment.
Even if they would diverge in future we are interested here in worker's
settings. So, when started in the master-worker mode let's dump it only in the
worker context.

This doesn't need to be backported as related to the latest master-worker
refactoring.
src/haproxy.c