This is an automated email from the ASF dual-hosted git repository.
caishunfeng pushed a commit to branch 3.0.1-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/3.0.1-prepare by this push:
new 70e2db3a8c cherry-pick [Fix] [Quartz] cron did not work as expected
(#11932)
70e2db3a8c is described below
commit 70e2db3a8c833e34e9fc38fdcf23548c0b05220b
Author: Kerwin <[email protected]>
AuthorDate: Thu Sep 15 14:42:07 2022 +0800
cherry-pick [Fix] [Quartz] cron did not work as expected (#11932)
---
dolphinscheduler-api/src/main/resources/application.yaml | 4 ++--
.../src/main/resources/application.yaml | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dolphinscheduler-api/src/main/resources/application.yaml
b/dolphinscheduler-api/src/main/resources/application.yaml
index a7f8e306cb..d59b42a791 100644
--- a/dolphinscheduler-api/src/main/resources/application.yaml
+++ b/dolphinscheduler-api/src/main/resources/application.yaml
@@ -63,7 +63,7 @@ spring:
jdbc:
initialize-schema: never
properties:
- org.quartz.threadPool:threadPriority: 5
+ org.quartz.threadPool.threadPriority: 5
org.quartz.jobStore.isClustered: true
org.quartz.jobStore.class: org.quartz.impl.jdbcjobstore.JobStoreTX
org.quartz.scheduler.instanceId: AUTO
@@ -78,7 +78,7 @@ spring:
org.quartz.scheduler.makeSchedulerThreadDaemon: true
org.quartz.jobStore.driverDelegateClass:
org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
org.quartz.jobStore.clusterCheckinInterval: 5000
-
+ org.quartz.scheduler.batchTriggerAcquisitionMaxCount: 1
management:
endpoints:
web:
diff --git
a/dolphinscheduler-standalone-server/src/main/resources/application.yaml
b/dolphinscheduler-standalone-server/src/main/resources/application.yaml
index cdc55df4c1..3b581a9b7a 100644
--- a/dolphinscheduler-standalone-server/src/main/resources/application.yaml
+++ b/dolphinscheduler-standalone-server/src/main/resources/application.yaml
@@ -47,7 +47,7 @@ spring:
jdbc:
initialize-schema: never
properties:
- org.quartz.threadPool:threadPriority: 5
+ org.quartz.threadPool.threadPriority: 5
org.quartz.jobStore.isClustered: true
org.quartz.jobStore.class: org.quartz.impl.jdbcjobstore.JobStoreTX
org.quartz.scheduler.instanceId: AUTO
@@ -62,6 +62,7 @@ spring:
org.quartz.scheduler.makeSchedulerThreadDaemon: true
org.quartz.jobStore.driverDelegateClass:
org.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.jobStore.clusterCheckinInterval: 5000
+ org.quartz.scheduler.batchTriggerAcquisitionMaxCount: 1
servlet:
multipart:
max-file-size: 1024MB