From f4f733db182706cb29f3c310fc7cf500b592a8e3 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 21 Apr 2026 14:49:26 +0200 Subject: [PATCH] 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. --- include/haproxy/defaults.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.3