haproxy/include
William Lallemand 4122142ca3 MINOR: startup: tune.renice.{startup,runtime} allow to change priorities
This commit introduces the tune.renice.startup and tune.renice.runtime
global keywords that allows to change the priority with setpriority().

tune.renice.startup is parsed and applied during the discovery mode so
the nice value is applied on the master process or the standalone
process for configuration parsing. If this keyword is used alone, the
value is inherited by any process forked from the master.

tune.renice.runtime is applied after configuration parsing, so in the
worker or a standalone process. Combined with tune.renice.startup it
allows to have a different nice value during configuration parsing and
during runtime.

The feature was discussed in github issue #1919.

Example:

   global
        tune.renice.startup 15
        tune.renice.runtime 0
2024-10-30 15:48:00 +01:00
..
haproxy MINOR: startup: tune.renice.{startup,runtime} allow to change priorities 2024-10-30 15:48:00 +01:00
import BUILD: cebtree: silence a bogus gcc warning on impossible code paths 2024-09-18 17:42:52 +02:00
make BUILD: makefile: support USE_xxx=0 as well 2024-04-11 11:06:19 +02:00