From e56731d78b0422e19eb79f19118897314d8625fc Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Fri, 24 Aug 2018 17:57:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A7=E8=A1=8C=E5=99=A8=E9=80=9A=E8=AE=AF?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E4=BC=98=E5=8C=96=EF=BC=8CcorePoolSize?= =?UTF-8?q?=E4=BB=8E256=E9=99=8D=E4=BD=8E=E8=87=B332?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/XXL-JOB官方文档.md | 3 ++- .../com/xxl/job/core/rpc/netcom/jetty/server/JettyServer.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/XXL-JOB官方文档.md b/doc/XXL-JOB官方文档.md index e925b7eb..c82b3bc3 100644 --- a/doc/XXL-JOB官方文档.md +++ b/doc/XXL-JOB官方文档.md @@ -1240,7 +1240,8 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段 - 24、取消父子任务不可重复的限制,支持循环任务触发等特殊场景; - 25、任务调度备注中标注任务触发类型,如Cron触发、父任务触发、API触发等等,方便排查调度日志; - 26、底层日志组件SimpleDateFormat线程安全问题修复; -- 27、【迭代中】分片任务失败重试优化,仅重试当前失败的分片; +- 27、执行器通讯线程优化,corePoolSize从256降低至32; +- 28、【迭代中】分片任务失败重试优化,仅重试当前失败的分片; ### TODO LIST diff --git a/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/server/JettyServer.java b/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/server/JettyServer.java index d7ed341d..a6ac4840 100644 --- a/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/server/JettyServer.java +++ b/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/server/JettyServer.java @@ -26,7 +26,7 @@ public class JettyServer { public void run() { // The Server - server = new Server(new ExecutorThreadPool()); // 非阻塞 + server = new Server(new ExecutorThreadPool(32, 256, 60L * 1000)); // 非阻塞 // HTTP connector ServerConnector connector = new ServerConnector(server);