From c0f1aaebb66c93b49fe80e779533dd976607a27f Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Sat, 28 Dec 2019 10:51:42 +0100 Subject: [PATCH] Fix Tomcat's maxConnections default value Closes gh-19472 --- .../boot/autoconfigure/web/ServerProperties.java | 2 +- 1 file changed, 1 insertion(+), 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 b13485ad15b..f42cf717578 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 @@ -372,7 +372,7 @@ public class ServerProperties { * given time. Once the limit has been reached, the operating system may still * accept connections based on the "acceptCount" property. */ - private int maxConnections = 10000; + private int maxConnections = 8192; /** * Maximum queue length for incoming connection requests when all possible request