【同步】BOOT 和 CLOUD 的功能
This commit is contained in:
@@ -21,6 +21,7 @@ public class YudaoAsyncAutoConfiguration {
|
||||
return new BeanPostProcessor() {
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("PatternVariableCanBeUsed")
|
||||
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
|
||||
// 处理 ThreadPoolTaskExecutor
|
||||
if (bean instanceof ThreadPoolTaskExecutor) {
|
||||
|
||||
Reference in New Issue
Block a user