Skip to content

Commit c0f1aae

Browse files
committed
Fix Tomcat's maxConnections default value
Closes gh-19472
1 parent d75efad commit c0f1aae

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public static class Tomcat {
372372
* given time. Once the limit has been reached, the operating system may still
373373
* accept connections based on the "acceptCount" property.
374374
*/
375-
private int maxConnections = 10000;
375+
private int maxConnections = 8192;
376376

377377
/**
378378
* Maximum queue length for incoming connection requests when all possible request

0 commit comments

Comments
 (0)