From 52755c32ff08f9da52bd438759839cc62aed4e47 Mon Sep 17 00:00:00 2001 From: David Dority <57111997+misterdorito@users.noreply.github.com> Date: Tue, 8 Oct 2024 09:02:11 -0400 Subject: [PATCH] Add configurable keepAliveTimeout for tomcat 8080 connector. (#827) * Add configurable keepAliveTimeout for tomcat 8080 connector. * Update test expectation. * Update expectation. --- charts/pega/config/deploy/server.xml.tmpl | 1 + .../src/test/pega/data/expectedInstallDeployServer.xml.tmpl | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/pega/config/deploy/server.xml.tmpl b/charts/pega/config/deploy/server.xml.tmpl index 66853b1a3..387b7c9a9 100644 --- a/charts/pega/config/deploy/server.xml.tmpl +++ b/charts/pega/config/deploy/server.xml.tmpl @@ -72,6 +72,7 @@ maxHttpHeaderSize="16384" maxSavePostSize="65536" connectionTimeout="20000" + keepAliveTimeout="{{ default .Env.CONFIG_CATALINA_CONNECTOR_8080_KEEPALIVETIMEOUT 20000 }}" maxHeaderCount="100" maxThreads="{{ default .Env.CONFIG_CATALINA_CONNECTOR_8080_MAXTHREADS 200 }}" /> diff --git a/terratest/src/test/pega/data/expectedInstallDeployServer.xml.tmpl b/terratest/src/test/pega/data/expectedInstallDeployServer.xml.tmpl index 66853b1a3..387b7c9a9 100644 --- a/terratest/src/test/pega/data/expectedInstallDeployServer.xml.tmpl +++ b/terratest/src/test/pega/data/expectedInstallDeployServer.xml.tmpl @@ -72,6 +72,7 @@ maxHttpHeaderSize="16384" maxSavePostSize="65536" connectionTimeout="20000" + keepAliveTimeout="{{ default .Env.CONFIG_CATALINA_CONNECTOR_8080_KEEPALIVETIMEOUT 20000 }}" maxHeaderCount="100" maxThreads="{{ default .Env.CONFIG_CATALINA_CONNECTOR_8080_MAXTHREADS 200 }}" />