]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: thread: indicate when max-threads-per-group is ignored
authorWilly Tarreau <w@1wt.eu>
Thu, 28 May 2026 15:19:44 +0000 (17:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 May 2026 16:49:47 +0000 (18:49 +0200)
commitf91b1ce9af72cff392283cdf29b24471fc6b917f
treee462112660b878b9d16234f65a3320e9e5438030
parentf5847d11f796edaec3d501ac58eafcbd32efa6bf
CLEANUP: thread: indicate when max-threads-per-group is ignored

Since it's easy to get caught by some parameters being ignored, let's
detect when mtpg was explicitly set and report a notice if it is ignored
due to thread-groups being set. For this we need to avoid presetting
the value in the global section and only set it when entering function
thread_detect_count(), which is OK since the value cannot be used before.
src/haproxy.c
src/thread.c