fei.wang
2024-05-13 b9b58b9ef261cb290d93465f88a2cbd814b576f0
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