]> git.kaiwu.me - haproxy.git/commit
MINOR: sample: return the number of the current thread group
authorWilly Tarreau <w@1wt.eu>
Tue, 14 Apr 2026 15:02:37 +0000 (17:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Apr 2026 15:05:34 +0000 (17:05 +0200)
commit630ef96f92f1bd5586effc9126ca3b56872303fe
tree8abf2ead733b33f5db7e97250162abcc0450b3ae
parentb943d2a7eb6d858a2f11baa3ffa3d6b92c25ebcc
MINOR: sample: return the number of the current thread group

Just like we have a sample fetch function that returns the number of the
current thread, let's have the same with the thread group number. This
can be useful for troubleshooting, given that certain things are currently
per thread-group (e.g. idle backend connections, certain LB algos etc).
doc/configuration.txt
src/sample.c