21 lines
765 B
Properties
21 lines
765 B
Properties
|
|
########################################
|
|||
|
|
# Quartz 默认配置示例(RAMJobStore)
|
|||
|
|
########################################
|
|||
|
|
|
|||
|
|
org.quartz.scheduler.instanceName = PlatformScheduler
|
|||
|
|
org.quartz.scheduler.instanceId = AUTO
|
|||
|
|
|
|||
|
|
# 线程池配置
|
|||
|
|
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
|
|||
|
|
org.quartz.threadPool.threadCount = 10
|
|||
|
|
org.quartz.threadPool.threadPriority = 5
|
|||
|
|
|
|||
|
|
# 使用内存存储(如需持久化请改为 JobStoreTX 并配置数据源)
|
|||
|
|
org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
|
|||
|
|
|
|||
|
|
# Misfire 阈值
|
|||
|
|
org.quartz.jobStore.misfireThreshold = 60000
|
|||
|
|
|
|||
|
|
# 插件(可选):关闭时清理
|
|||
|
|
org.quartz.plugin.shutdownHook.class = org.quartz.plugins.management.ShutdownHookPlugin
|
|||
|
|
org.quartz.plugin.shutdownHook.cleanShutdown = true
|