From 4ccbef3318ed836745c0926bee8d04feaa1a70a8 Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Thu, 6 Jan 2022 08:38:21 +0800 Subject: [PATCH] =?UTF-8?q?ListableBeanFactory#findAnnotationOnBean=20Spri?= =?UTF-8?q?ngBoot=20=E4=BD=8E=E7=89=88=E6=9C=AC=E9=80=82=E9=85=8D,=20?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E6=97=B6=E8=BF=94=E5=9B=9E=E5=8E=9F=E7=BA=BF?= =?UTF-8?q?=E7=A8=8B=E6=B1=A0.=20(#64)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/hippo4j/starter/core/DynamicThreadPoolPostProcessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolPostProcessor.java b/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolPostProcessor.java index 3315cd47..fbac34ac 100644 --- a/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolPostProcessor.java +++ b/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolPostProcessor.java @@ -73,6 +73,7 @@ public final class DynamicThreadPoolPostProcessor implements BeanPostProcessor { } } catch (Exception ex) { log.error("Failed to create dynamic thread pool in annotation mode.", ex); + return bean; } DynamicThreadPoolExecutor dynamicExecutor = (DynamicThreadPoolExecutor) bean;