]> git.kaiwu.me - 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:27:29 +0000 (18:27 +0200)
commitffdd8edb50b5b6c06e0ae7f39af7e8a7bd4900c5
tree69a0230f3e213975ee0ab8579879466598a98703
parentb3870390cc3671c2b3d3d2544dc8077eaf29f1f9
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