]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: haload: set default thread count to 1
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 22 Jul 2026 09:00:49 +0000 (11:00 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 23 Jul 2026 13:47:07 +0000 (15:47 +0200)
commit6504b2bf10a3a0322a8dd7be05bf5ce47fd67086
treec7b0032fb76e56b6ef1c584633eeb532cb9541b6
parent38c790cac3ebf306bb743e119e99f7fbf5156f0d
BUG/MINOR: haload: set default thread count to 1

By default <arg_thrd> was unset (-1) and fell back to global.nbthread,
causing inconsistencies since <arg_usr> defaults to 1. This patch sets
the default thread count to 1, enforces that <arg_thrd> does not exceed
<arg_usr>, updates usage help, and writes nbthread unconditionally.

Modify the doc/haload.txt file.
doc/haload.txt
src/haload_init.c