From: Willy Tarreau Date: Tue, 21 Apr 2026 12:49:26 +0000 (+0200) Subject: BUILD: config: also set DEF_MAX_THREADS_PER_GROUP when not using threads X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;p=thirdparty%2Fhaproxy.git BUILD: config: also set DEF_MAX_THREADS_PER_GROUP when not using threads 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. --- diff --git a/include/haproxy/defaults.h b/include/haproxy/defaults.h index 54e733d12..cc4d47683 100644 --- a/include/haproxy/defaults.h +++ b/include/haproxy/defaults.h @@ -34,6 +34,7 @@ #define MAX_TGROUPS 1 #define MAX_THREADS_PER_GROUP 1 +#define DEF_MAX_THREADS_PER_GROUP 1 #else