UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Resolve "allow maxThreads in the tomcat config to be configurable via values"

General MR

Summary

Adds an optional override for the min and max threads for the internal tomcat server for the ssc server. The values in values.yaml are the default values.

Relevant logs/screenshots

Defaults

helm template build chart/ | grep -A 5 "<Connector"
            <Connector maxThreads="4" minSpareThreads="1"
                    port="8080"
                    protocol="org.apache.coyote.http11.Http11Nio2Protocol"
                    server="Apache"
                    connectionTimeout="1000"
                    scheme="http"
--
            <Connector maxThreads="150" minSpareThreads="4"
                    port="8443"
                    protocol="org.apache.coyote.http11.Http11Nio2Protocol"
                    server="Apache"
                    connectionTimeout="10000"
                    connectionUploadTimeout="20000"

Overridden

helm template build chart/ --set ssc.config.http.max_threads=120 --set ssc.config.https.max_threads=99 | grep -A 5 "<Connector"
            <Connector maxThreads="120" minSpareThreads="1"
                    port="8080"
                    protocol="org.apache.coyote.http11.Http11Nio2Protocol"
                    server="Apache"
                    connectionTimeout="1000"
                    scheme="http"
--
            <Connector maxThreads="99" minSpareThreads="4"
                    port="8443"
                    protocol="org.apache.coyote.http11.Http11Nio2Protocol"
                    server="Apache"
                    connectionTimeout="10000"
                    connectionUploadTimeout="20000"

Relates #64 (closed)

Edited by Ryan Garcia

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading