Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6a8f42a2
authored
Mar 22, 2017
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
集群配置更新
parent
5847fe51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
xxl-job-admin/src/main/resources/quartz.properties
xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml
xxl-job-admin/src/main/resources/quartz.properties
View file @
6a8f42a2
...
...
@@ -4,22 +4,23 @@
#
org.quartz.scheduler.instanceName
:
DefaultQuartzScheduler
org.quartz.scheduler.instanceId
:
AUTO
org.quartz.scheduler.rmi.export
:
false
org.quartz.scheduler.rmi.proxy
:
false
org.quartz.scheduler.wrapJobExecutionInUserTransaction
:
false
org.quartz.threadPool.class
:
org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount
:
1
0
org.quartz.threadPool.threadCount
:
1
5
org.quartz.threadPool.threadPriority
:
5
org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread
:
true
org.quartz.jobStore.misfireThreshold
:
60000
org.quartz.jobStore.maxMisfiresToHandleAtATime
:
1
#org.quartz.jobStore.class: org.quartz.simpl.RAMJobStore
# for cluster
org.quartz.jobStore.tablePrefix
=
XXL_JOB_QRTZ_
org.quartz.scheduler.instanceId
:
AUTO
org.quartz.jobStore.class
:
org.quartz.impl.jdbcjobstore.JobStoreTX
org.quartz.jobStore.isClustered
:
true
org.quartz.jobStore.clusterCheckinInterval
:
1
000
org.quartz.jobStore.clusterCheckinInterval
:
5
000
xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml
View file @
6a8f42a2
...
...
@@ -74,8 +74,9 @@
<bean
id=
"quartzScheduler"
lazy-init=
"false"
class=
"org.springframework.scheduling.quartz.SchedulerFactoryBean"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
<property
name=
"autoStartup"
value=
"true"
/>
<!--自动启动 -->
<property
name=
"startupDelay"
value=
"20"
/>
<!--延时启动 -->
<property
name=
"autoStartup"
value=
"true"
/>
<!--自动启动 -->
<property
name=
"startupDelay"
value=
"20"
/>
<!--延时启动,应用启动成功后在启动 -->
<property
name=
"overwriteExistingJobs"
value=
"true"
/>
<!--覆盖DB中JOB:true、以数据库中已经存在的为准:false -->
<property
name=
"applicationContextSchedulerContextKey"
value=
"applicationContextKey"
/>
<property
name=
"configLocation"
value=
"classpath:quartz.properties"
/>
</bean>
...
...
Write
Preview
Markdown
is supported
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