diff --git a/hippo4j-common/src/main/java/cn/hippo4j/common/model/ThreadPoolParameterInfo.java b/hippo4j-common/src/main/java/cn/hippo4j/common/model/ThreadPoolParameterInfo.java index a85009c2..36889319 100644 --- a/hippo4j-common/src/main/java/cn/hippo4j/common/model/ThreadPoolParameterInfo.java +++ b/hippo4j-common/src/main/java/cn/hippo4j/common/model/ThreadPoolParameterInfo.java @@ -114,10 +114,10 @@ public class ThreadPoolParameterInfo implements ThreadPoolParameter, Serializabl private Integer allowCoreThreadTimeOut; public Integer getCorePoolSize() { - return this.corePoolSize == null ? this.coreSize : null; + return this.corePoolSize == null ? this.coreSize : this.corePoolSize; } public Integer getMaximumPoolSize() { - return this.maximumPoolSize == null ? this.maxSize : null; + return this.maximumPoolSize == null ? this.maxSize : this.corePoolSize; } }