You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.0 KiB
Plaintext

quartz.scheduler.instanceName = DemoScheduler
quartz.threadPool.threadCount = 10
quartz.jobStore.misfireThreshold = 60000
quartz.serializer.type = json
# 数据库配置
# 配置以使用作业StoreTx
# quartz.jobStore.type = Quartz.Impl.AdoJobStore.JobStoreTX, Quartz
# 将 AdoJobStore 配置为使用驱动程序委托
# quartz.jobStore.driverDelegateType = Quartz.Impl.AdoJobStore.StdAdoDelegate, Quartz
# 使用表前缀配置 AdoJobStore
# quartz.jobStore.tablePrefix = QRTZ_
# 使用“要使用的数据源名称”配置 AdoJobStore
# quartz.jobStore.dataSource = myDS
# 设置数据源的连接字符串
# quartz.dataSource.myDS.connectionString = server=127.0.0.1;port=3306;user=root;password=yt-461400;database=wi_solution;Sslmode=None;Character Set=utf8;
# 设置数据库提供程序
# quartz.dataSource.myDS.provider = MySql
# 将 AdoJobStore 配置为将字符串用作作业数据映射值(建议)
# quartz.jobStore.useProperties = false
# 负载均衡
quartz.jobStore.clustered = false
quartz.scheduler.instanceId = AUTO