Skip to content

Commit b18b155

Browse files
author
Christopher Frost
committed
Tomcat connectionTimeout to 20s
This commit changes the default Tomcat connection timeout to 20000ms. When this value is not specified the default is 60000ms which is too high. The value of 20000ms has been chosen to alight with Tomcats configured out of the box default. See: cloudfoundry#158 [#91083074]
1 parent 173e798 commit b18b155

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/tomcat/conf/server.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<Server port='-1'>
2020

2121
<Service name='Catalina'>
22-
<Connector port='${http.port}' bindOnInit="false"/>
22+
<Connector port='${http.port}' bindOnInit="false" connectionTimeout="20000"/>
2323

2424
<Engine defaultHost='localhost' name='Catalina'>
2525
<Valve className="org.apache.catalina.valves.RemoteIpValve" protocolHeader="x-forwarded-proto"/>

0 commit comments

Comments
 (0)