From 6a8f42a2fb91207ee0e6bc9b51cb0bde9d29f61f Mon Sep 17 00:00:00 2001 From: "xueli.xue" Date: Wed, 22 Mar 2017 10:49:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E7=BE=A4=E9=85=8D=E7=BD=AE=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xxl-job-admin/src/main/resources/quartz.properties | 7 ++++--- .../resources/spring/applicationcontext-xxl-job-admin.xml | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/xxl-job-admin/src/main/resources/quartz.properties b/xxl-job-admin/src/main/resources/quartz.properties index eaeca551..cc6ac0ec 100644 --- a/xxl-job-admin/src/main/resources/quartz.properties +++ b/xxl-job-admin/src/main/resources/quartz.properties @@ -4,22 +4,23 @@ # org.quartz.scheduler.instanceName: DefaultQuartzScheduler +org.quartz.scheduler.instanceId: AUTO org.quartz.scheduler.rmi.export: false org.quartz.scheduler.rmi.proxy: false org.quartz.scheduler.wrapJobExecutionInUserTransaction: false org.quartz.threadPool.class: org.quartz.simpl.SimpleThreadPool -org.quartz.threadPool.threadCount: 10 +org.quartz.threadPool.threadCount: 15 org.quartz.threadPool.threadPriority: 5 org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread: true org.quartz.jobStore.misfireThreshold: 60000 +org.quartz.jobStore.maxMisfiresToHandleAtATime: 1 #org.quartz.jobStore.class: org.quartz.simpl.RAMJobStore # for cluster org.quartz.jobStore.tablePrefix = XXL_JOB_QRTZ_ -org.quartz.scheduler.instanceId: AUTO org.quartz.jobStore.class: org.quartz.impl.jdbcjobstore.JobStoreTX org.quartz.jobStore.isClustered: true -org.quartz.jobStore.clusterCheckinInterval: 1000 +org.quartz.jobStore.clusterCheckinInterval: 5000 diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml index 84732967..83589dca 100644 --- a/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml @@ -74,8 +74,9 @@ - - + + +