增加核心和最大线程参数设置

This commit is contained in:
yinjiangyi
2021-09-13 10:56:25 +08:00
parent 630c86c62e
commit fac25b6ae6
3 changed files with 13 additions and 10 deletions

View File

@@ -59,7 +59,11 @@ public class ApplicationConfig {
public static final Double BASELINE_KALMAN_P = ConfigUtils.getDoubleProperty("baseline.kalman.p");
public static final Double BASELINE_KALMAN_M = ConfigUtils.getDoubleProperty("baseline.kalman.m");
public static final Integer THREAD_POOL_NUM = ConfigUtils.getIntProperty("thread.pool.num");
public static final Integer ALL_PARTITION_NUM = ConfigUtils.getIntProperty("all.partition.num");
public static final Integer MAX_POOL_SIZE = ConfigUtils.getIntProperty("max.pool.size");
public static final Integer CORE_POOL_SIZE = ConfigUtils.getIntProperty("core.pool.size");
public static final Integer PARTITION_NUM_MAX = ConfigUtils.getIntProperty("druid.partition.num.max");
public static final Integer DRUID_STATEMENT_QUERY_TIMEOUT = ConfigUtils.getIntProperty("druid.statement.query.timeout");