aboutsummaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2022-04-19 11:12:06 +0200
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2022-04-19 11:12:06 +0200
commit607ba8c0e577e318890d9f253187ac290cf5eb05 (patch)
treec6f996d3194fc38f5f53178096dc31f6d13ac325 /container-core
parentd312f61b5bec68aa0e360cb5d0f4efca21dcbccd (diff)
Scale Jetty threadpool with vCPU by default
Update the default value in config definition to match the default from config model. This change will affect Jetty threadpool size for standalone jdisc containers (e.g configserver).
Diffstat (limited to 'container-core')
-rw-r--r--container-core/src/main/resources/configdefinitions/jdisc.http.jdisc.http.server.def6
1 files changed, 4 insertions, 2 deletions
diff --git a/container-core/src/main/resources/configdefinitions/jdisc.http.jdisc.http.server.def b/container-core/src/main/resources/configdefinitions/jdisc.http.jdisc.http.server.def
index 7e1404bbc5e..aed92b1459f 100644
--- a/container-core/src/main/resources/configdefinitions/jdisc.http.jdisc.http.server.def
+++ b/container-core/src/main/resources/configdefinitions/jdisc.http.jdisc.http.server.def
@@ -37,10 +37,12 @@ defaultFilters[].localPort int
strictFiltering bool default = false
# Max number of threads in underlying Jetty pool
-maxWorkerThreads int default = 200
+# Defaults to 16+vCPU
+maxWorkerThreads int default = -1
# Min number of threads in underlying Jetty pool
-minWorkerThreads int default = 8
+# Defaults to 16+vCPU
+minWorkerThreads int default = -1
# Stop timeout in seconds. The maximum allowed time to process in-flight requests during server shutdown. Setting it to 0 disable graceful shutdown.
stopTimeout double default = 30.0