|
|
@ -71,7 +71,7 @@ public class DynamicThreadPoolAutoConfiguration {
|
|
|
|
@Bean
|
|
|
|
@Bean
|
|
|
|
@ConditionalOnMissingBean
|
|
|
|
@ConditionalOnMissingBean
|
|
|
|
@Order(Ordered.HIGHEST_PRECEDENCE)
|
|
|
|
@Order(Ordered.HIGHEST_PRECEDENCE)
|
|
|
|
public ApplicationContextHolder hippo4JApplicationContextHolder() {
|
|
|
|
public ApplicationContextHolder hippo4jApplicationContextHolder() {
|
|
|
|
return new ApplicationContextHolder();
|
|
|
|
return new ApplicationContextHolder();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -93,7 +93,7 @@ public class DynamicThreadPoolAutoConfiguration {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
@Bean
|
|
|
|
public DynamicThreadPoolPostProcessor dynamicThreadPoolPostProcessor(ApplicationContextHolder hippo4JApplicationContextHolder) {
|
|
|
|
public DynamicThreadPoolPostProcessor dynamicThreadPoolPostProcessor() {
|
|
|
|
return new DynamicThreadPoolPostProcessor(bootstrapConfigProperties);
|
|
|
|
return new DynamicThreadPoolPostProcessor(bootstrapConfigProperties);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|