From b0ba9b667aa43beb76e9bb0e542fdcaddb1c3326 Mon Sep 17 00:00:00 2001 From: Xiaochen Wang Date: Tue, 27 Feb 2024 13:20:51 +0800 Subject: [PATCH] fix(conf): fix the default value of upstream_keepalive_max_requests (#12643) This commit fixes the discrepancy between the default value of upstream_keepalive_max_requests in the Kong.conf comments and the actual value in kong/templates/kong_defaults.lua. (cherry picked from commit c5ed954e4ce517956173eaa860b6344d2a6cd06c) --- .../fix-default-value-of-upstream-keepalive-max-requests.yml | 5 +++++ kong.conf.default | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/kong/fix-default-value-of-upstream-keepalive-max-requests.yml diff --git a/changelog/unreleased/kong/fix-default-value-of-upstream-keepalive-max-requests.yml b/changelog/unreleased/kong/fix-default-value-of-upstream-keepalive-max-requests.yml new file mode 100644 index 000000000000..45eedd995d64 --- /dev/null +++ b/changelog/unreleased/kong/fix-default-value-of-upstream-keepalive-max-requests.yml @@ -0,0 +1,5 @@ +message: | + Fixed default value in kong.conf.default documentation from 1000 to 10000 + for upstream_keepalive_max_requests option. +type: bugfix +scope: Configuration diff --git a/kong.conf.default b/kong.conf.default index 134859fa03b8..3b2b4e39e2f5 100644 --- a/kong.conf.default +++ b/kong.conf.default @@ -1005,7 +1005,7 @@ # each upstream request to open a new # connection. -#upstream_keepalive_max_requests = 1000 # Sets the default maximum number of +#upstream_keepalive_max_requests = 10000 # Sets the default maximum number of # requests than can be proxied upstream # through one keepalive connection. # After the maximum number of requests