We are using Spring Boot version - spring-boot-starter-tomcat-1.4.3.RELEASE.
We are trying to find the max-threads configuration for the embedded tomcat, but in vain.
We could not find any server.xml inside the Spring Boot jar file. Neither could we print the max-threads property - which always returns null.
How can I find out the max-threads configured in the embedded tomcat for Spring Boot 1.4.3? How can I set the max-threads? Does Spring Boot 1.4.3 use NIO?
The default value for max-threads is 200. From the tomcat docs
You can set it using the property
server.tomcat.max-threads=<your value> # Maximum amount of worker threads.
From the spring-boot docs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With