Skip to content

Commit

Permalink
Removed unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
vivid-cpreston committed May 13, 2024
1 parent b6ec9b3 commit 4307810
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ jobs:
COMPRESSION_MIN_SIZE: ${{ vars.COMPRESSION_MIN_SIZE }}
NO_COMPRESSION_USER_AGENTS: ${{ vars.NO_COMPRESSION_USER_AGENTS }}
COMPRESSION_MIME_TYPES: ${{ vars.COMPRESSION_MIME_TYPES }}
MAX_POST_SIZE: ${{ vars.MAX_POST_SIZE }}


- name: Build and push
Expand Down
8 changes: 3 additions & 5 deletions cirras-underwriting-api/deploy-tools/server.xml
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>

<Server port="{{ tomcat_shutdown_port }}" shutdown="SHUTDOWN">
<Server port="-1" shutdown="SHUTDOWN">
<!-- TODO: are these worth parameterizing? -->
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />


<GlobalNamingResources>
</GlobalNamingResources>

<Service name="Catalina">
<Connector port="#{HTTPS_PORT}#"
<Connector port="#{TOMCAT_PORT}#"
protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="#{MAX_THREADS}#"
connectionTimeout="#{CONNECTION_TIMEOUT}#"
compression="on"
compressionMinSize="#{COMPRESSION_MIN_SIZE}#"
noCompressionUserAgents="#{NO_COMPRESSION_USER_AGENTS}#"
compressibleMimeType="#{COMPRESSION_MIME_TYPES}#"
maxPostSize="#{MAX_POST_SIZE}#"
SSLEnabled="true"
scheme="https"
secure="true"
Expand Down
5 changes: 2 additions & 3 deletions cirras-underwriting-war/deploy-tools/server.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<Server port="{{ tomcat_shutdown_port }}" shutdown="SHUTDOWN">
<Server port="-1" shutdown="SHUTDOWN">
<!-- TODO: are these worth parameterizing? -->
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
Expand All @@ -12,15 +12,14 @@
</GlobalNamingResources>

<Service name="Catalina">
<Connector port="#{HTTPS_PORT}#"
<Connector port="#{TOMCAT_PORT}#"
protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="#{MAX_THREADS}#"
connectionTimeout="#{CONNECTION_TIMEOUT}#"
compression="on"
compressionMinSize="#{COMPRESSION_MIN_SIZE}#"
noCompressionUserAgents="#{NO_COMPRESSION_USER_AGENTS}#"
compressibleMimeType="#{COMPRESSION_MIME_TYPES}#"
maxPostSize="#{MAX_POST_SIZE}#"
SSLEnabled="true"
scheme="https"
secure="true"
Expand Down

0 comments on commit 4307810

Please sign in to comment.