🔧 修改 quartz-config.yml 默认线程数量

(cherry picked from commit 98b92529c2eb3ded25577ed426bf628da07d5bf5)
This commit is contained in:
冷冷 committed 2024-08-21 21:51:01 +08:00
1 parent 0f33b447b3
commit 7d9acfd7fb
1 file changed
+1 -1
@@ -16,7 +16,7 @@ spring:
useProperties: false
threadPool:
class: org.quartz.simpl.SimpleThreadPool # 线程池
threadCount: 50 # 线程数量
threadCount: 5 # 线程数量
threadPriority: 5 # 线程优先级
threadsInheritContextClassLoaderOfInitializingThread: true # 是否继承类加载器
job-store-type: jdbc # 持久化到数据库