From b203780dcb2b1debcf382dbb8c3368c9ecdd6b2f Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Thu, 17 Oct 2024 10:22:05 +0200 Subject: [PATCH] Document that Tomcat's maxQueueCapacity need to be greater than 0 Closes gh-42726 --- .../boot/autoconfigure/web/ServerProperties.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java index 8647ddae3af..bdb1856a72a 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java @@ -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;