From c80bdb2da682822c5a41326bf1847995c8630c78 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sat, 6 Aug 2022 16:44:55 +0200 Subject: [PATCH] MINOR: threads: report the number of thread groups in build options haproxy -vv shows the number of threads but didn't report the number of groups, let's add it. --- src/thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/thread.c b/src/thread.c index c8462291c..64ac476a3 100644 --- a/src/thread.c +++ b/src/thread.c @@ -1066,8 +1066,8 @@ static void __thread_init(void) thread_cpus_enabled_at_boot = thread_cpus_enabled(); - memprintf(&ptr, "Built with multi-threading support (MAX_THREADS=%d, default=%d).", - MAX_THREADS, thread_cpus_enabled_at_boot); + memprintf(&ptr, "Built with multi-threading support (MAX_TGROUPS=%d, MAX_THREADS=%d, default=%d).", + MAX_TGROUPS, MAX_THREADS, thread_cpus_enabled_at_boot); hap_register_build_opts(ptr, 1); #if defined(DEBUG_THREAD) || defined(DEBUG_FULL)