Skip to content

Commit 42c470f

Browse files
committed
allow customization of timeout on http connector
1 parent 1aeec47 commit 42c470f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ tomcat_packages:
2424

2525
tomcat_secure_http_headers: true
2626

27+
tomcat_connection_timeout: 20000
28+
2729
########################################
2830
# Security Variables
2931
########################################

templates/catalina_base.conf.server.xml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<Service name="Catalina">
2020

2121
<Connector port="{{ tomcat_http_port }}" protocol="HTTP/1.1"
22-
connectionTimeout="20000" scheme="http"
22+
connectionTimeout="{{ tomcat_connection_timeout }}" scheme="http"
2323
{{ tomcat_http_connector_options }}
2424
/>
2525

0 commit comments

Comments
 (0)