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/condition/OnClassCondition.java
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,25 @@ protected final ConditionOutcome[] getOutcomes(String[] autoConfigurationClasses
49
49
// Split the work and perform half in a background thread. Using a single
50
50
// additional thread seems to offer the best performance. More threads make
51
51
// things worse
52
+
if (Runtime.getRuntime().availableProcessors() > 1) {
0 commit comments