定时任务集群关闭
This commit is contained in:
parent
4af58b0572
commit
9ba72dbd48
|
@ -30,7 +30,7 @@ public class ScheduleConfig {
|
||||||
//JobStore配置
|
//JobStore配置
|
||||||
prop.put("org.quartz.jobStore.class", "org.quartz.impl.jdbcjobstore.JobStoreTX");
|
prop.put("org.quartz.jobStore.class", "org.quartz.impl.jdbcjobstore.JobStoreTX");
|
||||||
//集群配置
|
//集群配置
|
||||||
prop.put("org.quartz.jobStore.isClustered", "true");
|
prop.put("org.quartz.jobStore.isClustered", "false");
|
||||||
prop.put("org.quartz.jobStore.clusterCheckinInterval", "15000");
|
prop.put("org.quartz.jobStore.clusterCheckinInterval", "15000");
|
||||||
prop.put("org.quartz.jobStore.maxMisfiresToHandleAtATime", "1");
|
prop.put("org.quartz.jobStore.maxMisfiresToHandleAtATime", "1");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue