From 19fe5a3d816184549e8ffa011c39f218734da8d5 Mon Sep 17 00:00:00 2001
From: fei.wang <wf18701153496@163.com>
Date: 星期一, 13 五月 2024 17:49:50 +0800
Subject: [PATCH] 更改

---
 src/main/resources/quartz.properties |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/quartz.properties b/src/main/resources/quartz.properties
new file mode 100644
index 0000000..6eefc1e
--- /dev/null
+++ b/src/main/resources/quartz.properties
@@ -0,0 +1,22 @@
+# the job scheduler name
+org.quartz.scheduler.instanceName=MyScheduler
+
+# auto set the instance id
+org.quartz.scheduler.instanceId=AUTO
+
+# the job thread in thread pool, which means the max threads can run in the same time
+org.quartz.threadPool.threadCount=1
+
+# the thread's priority
+org.quartz.threadPool.threadPriority = 5
+
+# the job data storage is memory but not database
+org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
+
+mybatis-plus.global-config.db-config.id-type=auto
+
+# the max delay for the task execute speed time, set 2 minutes
+#org.quartz.jobStore.misfireThreshold = 120000
+
+# auto create the parent thread
+#org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread=true
\ No newline at end of file

--
Gitblit v1.9.3