From 18c68df55809c5abfd4b6361f6e0cb8c4c38c1b5 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Tue, 26 Jan 2021 14:35:24 +0100 Subject: [PATCH] CLEANUP: srv: fix comment for pool-max-conn Adjust comment for the unlimited value of pool-max-conn which is -1. --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index 95082099b..956196528 100644 --- a/src/server.c +++ b/src/server.c @@ -1262,7 +1262,7 @@ static struct srv_kw_list srv_kws = { "ALL", { }, { { "non-stick", srv_parse_non_stick, 0, 1 }, /* Disable stick-table persistence */ { "observe", srv_parse_observe, 1, 1 }, /* Enables health adjusting based on observing communication with the server */ { "pool-low-conn", srv_parse_pool_low_conn, 1, 1 }, /* Set the min number of orphan idle connecbefore being allowed to pick from other threads */ - { "pool-max-conn", srv_parse_pool_max_conn, 1, 1 }, /* Set the max number of orphan idle connections, 0 means unlimited */ + { "pool-max-conn", srv_parse_pool_max_conn, 1, 1 }, /* Set the max number of orphan idle connections, -1 means unlimited */ { "pool-purge-delay", srv_parse_pool_purge_delay, 1, 1 }, /* Set the time before we destroy orphan idle connections, defaults to 1s */ { "proto", srv_parse_proto, 1, 1 }, /* Set the proto to use for all outgoing connections */ { "proxy-v2-options", srv_parse_proxy_v2_options, 1, 1 }, /* options for send-proxy-v2 */