]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: config: also set DEF_MAX_THREADS_PER_GROUP when not using threads master flx04/master
authorWilly Tarreau <w@1wt.eu>
Tue, 21 Apr 2026 12:49:26 +0000 (14:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 22 Apr 2026 05:02:01 +0000 (07:02 +0200)
The single-threaded build is currently broken in development since commit
0af603f46f ("MEDIUM: threads: change the default max-threads-per-group
value to 16") because it doesn't set the default for the non-threaded
build. Let's set it to 1.

No backport is needed.

include/haproxy/defaults.h

index 54e733d12dff3cd1d31c94ece23ce370fe14c82f..cc4d47683efab0ea328181f969278e29c9d0bf61 100644 (file)
@@ -34,6 +34,7 @@
 
 #define MAX_TGROUPS 1
 #define MAX_THREADS_PER_GROUP 1
 
 #define MAX_TGROUPS 1
 #define MAX_THREADS_PER_GROUP 1
+#define DEF_MAX_THREADS_PER_GROUP 1
 
 #else
 
 
 #else