You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -329,6 +329,11 @@ public static class Session {
329
329
@DurationUnit(ChronoUnit.SECONDS)
330
330
privateDurationtimeout = Duration.ofMinutes(30);
331
331
332
+
/**
333
+
* The maximum number of sessions that can be stored.
334
+
*/
335
+
privateintmaxSessions = 10_000;
336
+
332
337
@NestedConfigurationProperty
333
338
privatefinalCookiecookie = newCookie();
334
339
@@ -340,6 +345,14 @@ public void setTimeout(Duration timeout) {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/WebFluxAutoConfiguration.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -332,7 +332,10 @@ public LocaleContextResolver localeContextResolver() {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/WebFluxAutoConfigurationTests.java
0 commit comments