Commit 72ddaa5c authored by Sun's avatar Sun
Browse files

no commit message

parent ea62439e
...@@ -25,7 +25,7 @@ public class ScheduleConfig ...@@ -25,7 +25,7 @@ public class ScheduleConfig
// quartz参数 // quartz参数
Properties prop = new Properties(); Properties prop = new Properties();
prop.put("org.quartz.scheduler.instanceName", "RuoyiScheduler"); prop.put("org.quartz.scheduler.instanceName", "JeeSpringScheduler");
prop.put("org.quartz.scheduler.instanceId", "AUTO"); prop.put("org.quartz.scheduler.instanceId", "AUTO");
// 线程池配置 // 线程池配置
prop.put("org.quartz.threadPool.class", "org.quartz.simpl.SimpleThreadPool"); prop.put("org.quartz.threadPool.class", "org.quartz.simpl.SimpleThreadPool");
...@@ -43,7 +43,7 @@ public class ScheduleConfig ...@@ -43,7 +43,7 @@ public class ScheduleConfig
prop.put("org.quartz.jobStore.tablePrefix", "QRTZ_"); prop.put("org.quartz.jobStore.tablePrefix", "QRTZ_");
factory.setQuartzProperties(prop); factory.setQuartzProperties(prop);
factory.setSchedulerName("RuoyiScheduler"); factory.setSchedulerName("JeeSpringScheduler");
// 延时启动 // 延时启动
factory.setStartupDelay(1); factory.setStartupDelay(1);
factory.setApplicationContextSchedulerContextKey("applicationContextKey"); factory.setApplicationContextSchedulerContextKey("applicationContextKey");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment