manjosh
manjosh

Reputation: 724

default http threadpool size in embedded tomcat server spring boot

I have a spring boot application which is running on embedded tomcat server. I want to know the default tomcat http threadpool size and how to check them.

After checking on various portal i got to know that we can add 'server.tomcat.max-threads' in the applications.properties file and control it.

But i want to understand what is the default size and how to find it.

Upvotes: 0

Views: 808

Answers (1)

Krisz
Krisz

Reputation: 2224

You can find the default value for each property here for the latest Spring Boot version. In this case the property is server.tomcat.threads.max and the default value is Tomcat's default, which is 200.

Upvotes: 1

Related Questions