]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: threads: ignore max-threads-per-group when thread-groups is set
authorWilly Tarreau <w@1wt.eu>
Thu, 28 May 2026 14:48:51 +0000 (16:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 May 2026 16:49:47 +0000 (18:49 +0200)
commitf5847d11f796edaec3d501ac58eafcbd32efa6bf
treef9ae00dd0c52636d52fab65c784769781581ee0c
parent617df441d60b55e4a908fb8ba6a958a4db850b00
BUG/MEDIUM: threads: ignore max-threads-per-group when thread-groups is set

As documented, max-threads-per-group is the default number of threads
to arrange in a group before creating another group, and is only meant
to be used when thread-groups is not set.

However it was always enforced, so configs like:

   global
       thready-groups 2

which were sufficient in 3.2 and above to start with 64-128 threads
are now suddenly limited to 32 threads! Let's relax the limit when
thread-groups is set!

No backport is needed since this is only 3.4.
src/thread.c