MINOR: listener: add a new global tune.listener.default-shards setting
authorWilly Tarreau <w@1wt.eu>
Sat, 22 Apr 2023 20:06:23 +0000 (22:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 23 Apr 2023 07:46:15 +0000 (09:46 +0200)
commit7310164b2cbae510b17377973fab26bf85c7d6c6
treeaf0640e9e265fe15de5c78107e807393def06bc2
parentc38499ceae0b77b912e2a8f3a790496855022b96
MINOR: listener: add a new global tune.listener.default-shards setting

This new setting accepts "by-process", "by-group" and "by-thread" and
will dictate how listeners will be sharded by default when nothing is
specified. While the default remains "by-process", "by-group" should be
much more efficient with many threads, while not changing anything for
single-group setups.
doc/configuration.txt
include/haproxy/global-t.h
src/haproxy.c
src/listener.c