From 6504b2bf10a3a0322a8dd7be05bf5ce47fd67086 Mon Sep 17 00:00:00 2001 From: Frederic Lecaille Date: Wed, 22 Jul 2026 11:00:49 +0200 Subject: [PATCH] BUG/MINOR: haload: set default thread count to 1 By default was unset (-1) and fell back to global.nbthread, causing inconsistencies since defaults to 1. This patch sets the default thread count to 1, enforces that does not exceed , updates usage help, and writes nbthread unconditionally. Modify the doc/haload.txt file. --- doc/haload.txt | 2 +- src/haload_init.c | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/haload.txt b/doc/haload.txt index c82e6d92f..73ecc5d48 100644 --- a/doc/haload.txt +++ b/doc/haload.txt @@ -66,7 +66,7 @@ HALoad displays its usage when run without argument or wrong arguments: -n maximum total requests (-1) -r number of requests per connection (-1) -s