]> git.kaiwu.me - haproxy.git/commit
MINOR: receiver: Remove tgroup_mask from struct shard_info
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 7 Jan 2026 01:36:55 +0000 (02:36 +0100)
committerOlivier Houchard <ohouchard@haproxy.com>
Wed, 7 Jan 2026 08:27:12 +0000 (09:27 +0100)
commit41cd5896456383b24c50620e7da0af92baa58638
tree8c26c0f198ad22e1202e8d4a8d9b75749acb17e5
parentc3fcdfaf5cb72c34a85fc90b09a9771e40364471
MINOR: receiver: Remove tgroup_mask from struct shard_info

The only purpose from tgroup_mask seems to be to calculate how many
tgroups share the same shard, but this is an information we can
calculate differently, we just have to increment the number when a new
receiver is added to the shard, and decrement it when one is detached
from the shard. Removing thread group masks will allow us to increase
the maximum number of thread groups past 64.
include/haproxy/receiver-t.h
src/listener.c