MEDIUM: config: report that "nbproc" is deprecated
authorWilly Tarreau <w@1wt.eu>
Tue, 20 Oct 2020 09:54:49 +0000 (11:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 20 Oct 2020 09:54:49 +0000 (11:54 +0200)
commitf42d794d96c5a58c33637ab44ff699ab869d5caa
treec98d0e3c445211de5609a0183549cb6bacd35181
parent96ddc8ab43bfbf9a317041e5d13168ea1c8edfc0
MEDIUM: config: report that "nbproc" is deprecated

As previously discussed, nbproc usage is bad, deprecated, and scheduled
for removal in 2.5.

If "nbproc" is found with more than one process while nbthread is not
set, a warning will be emitted encouraging to remove it or to migrate
to nbthread instead. This makes sure the user has an opportunity to
both see the message and silence it.
doc/configuration.txt
src/haproxy.c