Browse Source

Fix quartz threadPriority config name error (#11596)

* Fix quartz threadPriority config name error

* Add batchTriggerAcquisitionMaxCount config
3.1.0-release
Wenjun Ruan 2 years ago committed by GitHub
parent
commit
8886d5a126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-api/src/main/resources/application.yaml
  2. 3
      dolphinscheduler-master/src/main/resources/application.yaml

2
dolphinscheduler-api/src/main/resources/application.yaml

@ -63,7 +63,7 @@ spring:
jdbc: jdbc:
initialize-schema: never initialize-schema: never
properties: properties:
org.quartz.threadPool:threadPriority: 5 org.quartz.threadPool.threadPriority: 5
org.quartz.jobStore.isClustered: true org.quartz.jobStore.isClustered: true
org.quartz.jobStore.class: org.springframework.scheduling.quartz.LocalDataSourceJobStore org.quartz.jobStore.class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
org.quartz.scheduler.instanceId: AUTO org.quartz.scheduler.instanceId: AUTO

3
dolphinscheduler-master/src/main/resources/application.yaml

@ -54,7 +54,7 @@ spring:
jdbc: jdbc:
initialize-schema: never initialize-schema: never
properties: properties:
org.quartz.threadPool:threadPriority: 5 org.quartz.threadPool.threadPriority: 5
org.quartz.jobStore.isClustered: true org.quartz.jobStore.isClustered: true
org.quartz.jobStore.class: org.springframework.scheduling.quartz.LocalDataSourceJobStore org.quartz.jobStore.class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
org.quartz.scheduler.instanceId: AUTO org.quartz.scheduler.instanceId: AUTO
@ -66,6 +66,7 @@ spring:
org.quartz.threadPool.makeThreadsDaemons: true org.quartz.threadPool.makeThreadsDaemons: true
org.quartz.threadPool.threadCount: 25 org.quartz.threadPool.threadCount: 25
org.quartz.jobStore.misfireThreshold: 60000 org.quartz.jobStore.misfireThreshold: 60000
org.quartz.scheduler.batchTriggerAcquisitionMaxCount: 1
org.quartz.scheduler.makeSchedulerThreadDaemon: true org.quartz.scheduler.makeSchedulerThreadDaemon: true
org.quartz.jobStore.driverDelegateClass: org.quartz.impl.jdbcjobstore.PostgreSQLDelegate org.quartz.jobStore.driverDelegateClass: org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
org.quartz.jobStore.clusterCheckinInterval: 5000 org.quartz.jobStore.clusterCheckinInterval: 5000

Loading…
Cancel
Save