]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: limits: add is_any_limit_configured
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 10 Jul 2024 12:18:12 +0000 (14:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Jul 2024 16:05:48 +0000 (18:05 +0200)
commit3a0b44b122067676ad13d8348a17e6c5bd279901
treea784bd8536922ffda70591ddc174003b35b5e2d9
parent1f8addfdc2c98b4462629e1b07a00592995e5ea3
MINOR: limits: add is_any_limit_configured

Let's encapsulate the check of all supported for now process internal limits in
a separate function. This will help in cases, when we need to simply check if
we have even only one limit set in the configuration file. It's important, as
the default value for a one limit (fd-hard-limits, for example) sometimes must
not affect the computation of the others.
src/limits.c