|
@@ -8,7 +8,7 @@ import java.util.Properties;
|
|
|
|
|
|
/**
|
|
|
* 定时任务配置(单机部署建议删除此类和qrtz数据库表,默认走内存会最高效)
|
|
|
- *
|
|
|
+ *
|
|
|
* @author ruoyi
|
|
|
*/
|
|
|
@Configuration
|
|
@@ -31,10 +31,10 @@ public class ScheduleConfig
|
|
|
// JobStore配置
|
|
|
prop.put("org.quartz.jobStore.class", "org.springframework.scheduling.quartz.LocalDataSourceJobStore");
|
|
|
// 集群配置
|
|
|
- prop.put("org.quartz.jobStore.isClustered", "true");
|
|
|
- prop.put("org.quartz.jobStore.clusterCheckinInterval", "15000");
|
|
|
- prop.put("org.quartz.jobStore.maxMisfiresToHandleAtATime", "1");
|
|
|
- prop.put("org.quartz.jobStore.txIsolationLevelSerializable", "true");
|
|
|
+// prop.put("org.quartz.jobStore.isClustered", "true");
|
|
|
+// prop.put("org.quartz.jobStore.clusterCheckinInterval", "15000");
|
|
|
+// prop.put("org.quartz.jobStore.maxMisfiresToHandleAtATime", "1");
|
|
|
+// prop.put("org.quartz.jobStore.txIsolationLevelSerializable", "true");
|
|
|
|
|
|
// sqlserver 启用
|
|
|
// prop.put("org.quartz.jobStore.selectWithLockSQL", "SELECT * FROM {0}LOCKS UPDLOCK WHERE LOCK_NAME = ?");
|