执行器通讯线程优化,corePoolSize从256降低至32
This commit is contained in:
parent
c1ca3fbe53
commit
e56731d78b
|
@ -1240,7 +1240,8 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
|
||||||
- 24、取消父子任务不可重复的限制,支持循环任务触发等特殊场景;
|
- 24、取消父子任务不可重复的限制,支持循环任务触发等特殊场景;
|
||||||
- 25、任务调度备注中标注任务触发类型,如Cron触发、父任务触发、API触发等等,方便排查调度日志;
|
- 25、任务调度备注中标注任务触发类型,如Cron触发、父任务触发、API触发等等,方便排查调度日志;
|
||||||
- 26、底层日志组件SimpleDateFormat线程安全问题修复;
|
- 26、底层日志组件SimpleDateFormat线程安全问题修复;
|
||||||
- 27、【迭代中】分片任务失败重试优化,仅重试当前失败的分片;
|
- 27、执行器通讯线程优化,corePoolSize从256降低至32;
|
||||||
|
- 28、【迭代中】分片任务失败重试优化,仅重试当前失败的分片;
|
||||||
|
|
||||||
|
|
||||||
### TODO LIST
|
### TODO LIST
|
||||||
|
|
|
@ -26,7 +26,7 @@ public class JettyServer {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
||||||
// The Server
|
// The Server
|
||||||
server = new Server(new ExecutorThreadPool()); // 非阻塞
|
server = new Server(new ExecutorThreadPool(32, 256, 60L * 1000)); // 非阻塞
|
||||||
|
|
||||||
// HTTP connector
|
// HTTP connector
|
||||||
ServerConnector connector = new ServerConnector(server);
|
ServerConnector connector = new ServerConnector(server);
|
||||||
|
|
Loading…
Reference in New Issue