From 2abe679b564141fd2c075da1848525d2f0689785 Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Tue, 26 Feb 2019 14:30:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E6=B1=A0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=8C=E5=A2=9E=E5=BC=BA=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E6=9C=89=E6=95=88=E6=80=A7=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/XXL-JOB官方文档.md | 7 ++++--- xxl-job-admin/src/main/resources/application.properties | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/XXL-JOB官方文档.md b/doc/XXL-JOB官方文档.md index a6a3aa15..6bf25634 100644 --- a/doc/XXL-JOB官方文档.md +++ b/doc/XXL-JOB官方文档.md @@ -1433,9 +1433,10 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段 - 17、任务失败告警邮件发送逻辑优化; - 18、调度日志排序逻辑调整为按照调度时间倒序,兼容TIDB等主键不连续日志存储组件; - 19、执行器优雅停机优化; -- 20、[迭代中]JobHandler执行结果日志长度限制: -- 21、[迭代中]执行器端口复用: -- 22、[迭代中]任务线程隔离: +- 20、连接池配置优化,增强连接有效性验证; +- 21、[迭代中]JobHandler执行结果日志长度限制: +- 22、[迭代中]执行器端口复用: +- 23、[迭代中]任务线程隔离: - 执行器测异步响应,不存在阻塞不需要隔离; - 调度中心共用单一调度线程池,可能导致调度阻塞需要线程隔离;调度线程池拆分为Fast/Slow两个,针对调度较慢的执行器地址请求,降级使用Slow线程池;考虑是否可以任务级隔离线程池; diff --git a/xxl-job-admin/src/main/resources/application.properties b/xxl-job-admin/src/main/resources/application.properties index bccb8e46..b528d8e6 100644 --- a/xxl-job-admin/src/main/resources/application.properties +++ b/xxl-job-admin/src/main/resources/application.properties @@ -26,6 +26,8 @@ spring.datasource.type=org.apache.tomcat.jdbc.pool.DataSource spring.datasource.tomcat.max-wait=10000 spring.datasource.tomcat.max-active=30 spring.datasource.tomcat.test-on-borrow=true +spring.datasource.tomcat.validation-query=SELECT 1 +spring.datasource.tomcat.validation-interval=30000 ### xxl-job email spring.mail.host=smtp.qq.com