Skip to content

Commit b203780

Browse files
committed
Document that Tomcat's maxQueueCapacity need to be greater than 0
Closes gh-42726
1 parent 476d575 commit b203780

File tree

1 file changed

+2
-1
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,8 @@ public static class Threads {
937937
private int minSpare = 10;
938938

939939
/**
940-
* Maximum capacity of the thread pool's backing queue.
940+
* Maximum capacity of the thread pool's backing queue. This setting only has
941+
* an effect if the value is greater than 0.
941942
*/
942943
private int maxQueueCapacity = 2147483647;
943944

0 commit comments

Comments
 (0)