Browse Source

Document that Tomcat's maxQueueCapacity need to be greater than 0

Closes gh-42726
pull/43204/head
Moritz Halbritter 1 year ago
parent
commit
b203780dcb
  1. 3
      spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java

3
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java

@ -937,7 +937,8 @@ public class ServerProperties { @@ -937,7 +937,8 @@ public class ServerProperties {
private int minSpare = 10;
/**
* Maximum capacity of the thread pool's backing queue.
* Maximum capacity of the thread pool's backing queue. This setting only has
* an effect if the value is greater than 0.
*/
private int maxQueueCapacity = 2147483647;

Loading…
Cancel
Save