定时任务集群关闭

This commit is contained in:
wangliwen 2022-06-07 17:36:50 +08:00
parent 4af58b0572
commit 9ba72dbd48
1 changed files with 1 additions and 1 deletions

View File

@ -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");