Browse Source

[Fix] [Quartz] cron did not work as expected (#11851)

* [Fix] [Quartz] cron did not work as expected

* [Fix] [Quartz] make the value of batchTriggerAcquisitionMaxCount to 1(default value)

Co-authored-by: hezhao2 <hezhao2@cisco.com>
3.2.0-release
He Zhao 2 years ago committed by GitHub
parent
commit
ca22c083b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dolphinscheduler-api/src/main/resources/application.yaml
  2. 3
      dolphinscheduler-standalone-server/src/main/resources/application.yaml

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

@ -76,6 +76,7 @@ spring:
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
org.quartz.scheduler.batchTriggerAcquisitionMaxCount: 1
mvc: mvc:
pathmatch: pathmatch:
matching-strategy: ANT_PATH_MATCHER matching-strategy: ANT_PATH_MATCHER

3
dolphinscheduler-standalone-server/src/main/resources/application.yaml

@ -45,7 +45,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
@ -60,6 +60,7 @@ spring:
org.quartz.scheduler.makeSchedulerThreadDaemon: true org.quartz.scheduler.makeSchedulerThreadDaemon: true
org.quartz.jobStore.driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate org.quartz.jobStore.driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.jobStore.clusterCheckinInterval: 5000 org.quartz.jobStore.clusterCheckinInterval: 5000
org.quartz.scheduler.batchTriggerAcquisitionMaxCount: 1
servlet: servlet:
multipart: multipart:
max-file-size: 1024MB max-file-size: 1024MB

Loading…
Cancel
Save