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-starter/spring-boot-starter-core/src/main/java/com/getyourguide/openapi/validation/OpenApiValidationApplicationProperties.java
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ public class OpenApiValidationApplicationProperties {
Copy file name to clipboardExpand all lines: spring-boot-starter/spring-boot-starter-core/src/main/java/com/getyourguide/openapi/validation/autoconfigure/LibraryAutoConfiguration.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -119,11 +119,11 @@ public OpenApiRequestValidator openApiRequestValidator(
119
119
}
120
120
121
121
privateExecutorcreateThreadPoolExecutor() {
122
-
if (VirtualThreadLimitedExecutor.isSupported()) {
122
+
if (properties.isEnableVirtualThreads() && VirtualThreadLimitedExecutor.isSupported()) {
123
123
returnnewVirtualThreadLimitedExecutor();
124
124
}
125
125
126
-
// Fallback to ThreadPoolExecutor with regular threads for older Java versions
126
+
// Fallback to ThreadPoolExecutor with regular threads
0 commit comments