commit | d30e82b9f0ad07bf1ce0f2dc100937a518d53877 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Apr 13 17:11:23 2023 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Apr 13 17:12:50 2023 +0200 |
tree | 6f9ebc6de154e9d6888bbb25759904cf002e3ce0 | |
parent | 53fc98c3bcf058e358a4a9b3ad3b35ce883085fb [diff] |
MINOR: receiver: reserve special values for "shards" Instead of artificially setting the shards count to MAX_THREAD when "by-thread" is used, let's reserve special values for symbolic names so that we can add more in the future. For now we use value -1 for "by-thread", which requires to turn the type to signed int but it was already used as such everywhere anyway.