Fix hippo4j core web container thread number modification

pull/246/head
chen.ma 3 years ago
parent cbc230bcd2
commit ed0a8d100e

@ -112,4 +112,12 @@ public class ThreadPoolParameterInfo implements ThreadPoolParameter, Serializabl
* allowCoreThreadTimeOut * allowCoreThreadTimeOut
*/ */
private Integer allowCoreThreadTimeOut; private Integer allowCoreThreadTimeOut;
public Integer getCorePoolSize() {
return this.corePoolSize == null ? this.coreSize : null;
}
public Integer getMaximumPoolSize() {
return this.maximumPoolSize == null ? this.maxSize : null;
}
} }

Loading…
Cancel
Save