Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JeeSpringCloudV3.0
Commits
72ddaa5c
Commit
72ddaa5c
authored
Dec 13, 2018
by
Sun
Browse files
no commit message
parent
ea62439e
Changes
1
Show whitespace changes
Inline
Side-by-side
JeeSpringCloud/src/main/java/com/jeespring/common/config/ScheduleConfig.java
View file @
72ddaa5c
...
...
@@ -25,7 +25,7 @@ public class ScheduleConfig
// quartz参数
Properties
prop
=
new
Properties
();
prop
.
put
(
"org.quartz.scheduler.instanceName"
,
"
Ruoyi
Scheduler"
);
prop
.
put
(
"org.quartz.scheduler.instanceName"
,
"
JeeSpring
Scheduler"
);
prop
.
put
(
"org.quartz.scheduler.instanceId"
,
"AUTO"
);
// 线程池配置
prop
.
put
(
"org.quartz.threadPool.class"
,
"org.quartz.simpl.SimpleThreadPool"
);
...
...
@@ -43,7 +43,7 @@ public class ScheduleConfig
prop
.
put
(
"org.quartz.jobStore.tablePrefix"
,
"QRTZ_"
);
factory
.
setQuartzProperties
(
prop
);
factory
.
setSchedulerName
(
"
Ruoyi
Scheduler"
);
factory
.
setSchedulerName
(
"
JeeSpring
Scheduler"
);
// 延时启动
factory
.
setStartupDelay
(
1
);
factory
.
setApplicationContextSchedulerContextKey
(
"applicationContextKey"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment