调度线程池参数调优
This commit is contained in:
parent
6b3d79ed2c
commit
ab4335ee02
|
@ -1472,6 +1472,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
|
||||||
- 2、[规划中] 用户管理:支持在线维护系统用户;
|
- 2、[规划中] 用户管理:支持在线维护系统用户;
|
||||||
- 3、[规划中] 权限管理:执行器为粒度分配权限,核心操作校验权限,暂定管理员、普通用户两种角色;
|
- 3、[规划中] 权限管理:执行器为粒度分配权限,核心操作校验权限,暂定管理员、普通用户两种角色;
|
||||||
- 4、调度日志优化:支持设置日志保留天数,过期日志天维度记录报表,并清理;调度报表汇总实时数据和报表;
|
- 4、调度日志优化:支持设置日志保留天数,过期日志天维度记录报表,并清理;调度报表汇总实时数据和报表;
|
||||||
|
- 5、调度线程池参数调优;
|
||||||
|
|
||||||
|
|
||||||
### TODO LIST
|
### TODO LIST
|
||||||
|
|
|
@ -22,7 +22,7 @@ public class JobTriggerPoolHelper {
|
||||||
|
|
||||||
// fast/slow thread pool
|
// fast/slow thread pool
|
||||||
private ThreadPoolExecutor fastTriggerPool = new ThreadPoolExecutor(
|
private ThreadPoolExecutor fastTriggerPool = new ThreadPoolExecutor(
|
||||||
8,
|
50,
|
||||||
200,
|
200,
|
||||||
60L,
|
60L,
|
||||||
TimeUnit.SECONDS,
|
TimeUnit.SECONDS,
|
||||||
|
@ -35,7 +35,7 @@ public class JobTriggerPoolHelper {
|
||||||
});
|
});
|
||||||
|
|
||||||
private ThreadPoolExecutor slowTriggerPool = new ThreadPoolExecutor(
|
private ThreadPoolExecutor slowTriggerPool = new ThreadPoolExecutor(
|
||||||
0,
|
10,
|
||||||
100,
|
100,
|
||||||
60L,
|
60L,
|
||||||
TimeUnit.SECONDS,
|
TimeUnit.SECONDS,
|
||||||
|
|
Loading…
Reference in New Issue