From 3490ebabf29863d2bbedf9818421a9c6662b1593 Mon Sep 17 00:00:00 2001 From: Ming Wen Date: Wed, 18 Sep 2024 14:55:02 +0800 Subject: [PATCH 1/3] docs: update config.yaml.example about upstream's keepalive. --- conf/config.yaml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/config.yaml.example b/conf/config.yaml.example index bd741b2f767b..1ec814e8519e 100644 --- a/conf/config.yaml.example +++ b/conf/config.yaml.example @@ -238,7 +238,7 @@ nginx_config: # Config for render the template to generate n # the requested server name. upstream: - keepalive: 320 # Set the maximum time of keep-alive connections to the upstream servers. + keepalive: 320 # the maximum number of idle keepalive connections to the upstream service of each worker process. # When the value is exceeded, the least recently used connection is closed. keepalive_requests: 1000 # Set the maximum number of requests that can be served through one # keep-alive connection. From 8aeeace9261c3de48f666a55057db8126c8a042a Mon Sep 17 00:00:00 2001 From: Wen Ming Date: Wed, 18 Sep 2024 15:22:14 +0800 Subject: [PATCH 2/3] f --- conf/config.yaml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/config.yaml.example b/conf/config.yaml.example index 1ec814e8519e..40dbca224e1e 100644 --- a/conf/config.yaml.example +++ b/conf/config.yaml.example @@ -243,7 +243,7 @@ nginx_config: # Config for render the template to generate n keepalive_requests: 1000 # Set the maximum number of requests that can be served through one # keep-alive connection. # After the maximum number of requests is made, the connection is closed. - keepalive_timeout: 60s # Set the maximum time for which TCP connection keeps alive. + keepalive_timeout: 60s # Set a timeout during which an idle keepalive connection to an upstream server will stay open. charset: utf-8 # Add the charset to the "Content-Type" response header field. # See http://nginx.org/en/docs/http/ngx_http_charset_module.html#charset variables_hash_max_size: 2048 # Set the maximum size of the variables hash table. From ebc4a39aa85ecd493d64a8eed42c3127c695295e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=90=9A=E8=87=B4=E8=BF=9C=20/=20Zhiyuan=20Ju?= Date: Sun, 17 Nov 2024 20:40:02 +0800 Subject: [PATCH 3/3] Update conf/config.yaml.example Co-authored-by: Traky Deng --- conf/config.yaml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/config.yaml.example b/conf/config.yaml.example index 40dbca224e1e..cd71ede8532a 100644 --- a/conf/config.yaml.example +++ b/conf/config.yaml.example @@ -238,7 +238,7 @@ nginx_config: # Config for render the template to generate n # the requested server name. upstream: - keepalive: 320 # the maximum number of idle keepalive connections to the upstream service of each worker process. + keepalive: 320 # Set the maximum number of idle keepalive connections to the upstream service of each worker process. # When the value is exceeded, the least recently used connection is closed. keepalive_requests: 1000 # Set the maximum number of requests that can be served through one # keep-alive connection.