From 6db452cdd2c7d52e97f649dad4f6e7d7574806a8 Mon Sep 17 00:00:00 2001 From: pizihao <2335715300@qq.com> Date: Fri, 23 Sep 2022 11:43:33 +0800 Subject: [PATCH] feat : add enable prop for this(#609) --- .../springboot/starter/config/AdapterExecutorProperties.java | 5 +++++ .../springboot/starter/config/WebThreadPoolProperties.java | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/hippo4j-spring-boot/hippo4j-config-spring-boot-starter/src/main/java/cn/hippo4j/config/springboot/starter/config/AdapterExecutorProperties.java b/hippo4j-spring-boot/hippo4j-config-spring-boot-starter/src/main/java/cn/hippo4j/config/springboot/starter/config/AdapterExecutorProperties.java index 6ff8c9e0..c46d8934 100644 --- a/hippo4j-spring-boot/hippo4j-config-spring-boot-starter/src/main/java/cn/hippo4j/config/springboot/starter/config/AdapterExecutorProperties.java +++ b/hippo4j-spring-boot/hippo4j-config-spring-boot-starter/src/main/java/cn/hippo4j/config/springboot/starter/config/AdapterExecutorProperties.java @@ -49,4 +49,9 @@ public class AdapterExecutorProperties { * Nodes, application startup is not affect, change properties is effect */ private String nodes; + + /** + * these propertied is enabled? + */ + private Boolean enable = true; } diff --git a/hippo4j-spring-boot/hippo4j-config-spring-boot-starter/src/main/java/cn/hippo4j/config/springboot/starter/config/WebThreadPoolProperties.java b/hippo4j-spring-boot/hippo4j-config-spring-boot-starter/src/main/java/cn/hippo4j/config/springboot/starter/config/WebThreadPoolProperties.java index b7cb737c..f2d1ff02 100644 --- a/hippo4j-spring-boot/hippo4j-config-spring-boot-starter/src/main/java/cn/hippo4j/config/springboot/starter/config/WebThreadPoolProperties.java +++ b/hippo4j-spring-boot/hippo4j-config-spring-boot-starter/src/main/java/cn/hippo4j/config/springboot/starter/config/WebThreadPoolProperties.java @@ -44,4 +44,9 @@ public class WebThreadPoolProperties { * Nodes, application startup is not affect, change properties is effect */ private String nodes; + + /** + * these propertied is enabled? + */ + private Boolean enable = true; }