]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Better value for trunk connection "start"
authorNick Porter <nick@portercomputing.co.uk>
Fri, 19 Jul 2024 08:54:14 +0000 (09:54 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 19 Jul 2024 08:54:14 +0000 (09:54 +0100)
Since trunks are per thread, starting one connection per thread by
default is more reasonable.

src/lib/server/trunk.c

index 7136d77e7b0d330510c757cec41aafe0be528bbd..dc0c7c5e2eb8948e8e39b581e9beaac54740759c 100644 (file)
@@ -310,7 +310,7 @@ static conf_parser_t const trunk_config_connection[] = {
 
 #ifndef TRUNK_TESTS
 conf_parser_t const trunk_config[] = {
-       { FR_CONF_OFFSET("start", trunk_conf_t, start), .dflt = "5" },
+       { FR_CONF_OFFSET("start", trunk_conf_t, start), .dflt = "1" },
        { FR_CONF_OFFSET("min", trunk_conf_t, min), .dflt = "1" },
        { FR_CONF_OFFSET("max", trunk_conf_t, max), .dflt = "5" },
        { FR_CONF_OFFSET("connecting", trunk_conf_t, connecting), .dflt = "2" },