Browse Source

Merge pull request #1177 from colinin/fix-quartz-cfg-prefix

fix(tasks): Fix the quartz configuration prefix
pull/1211/head
yx lin 11 months ago
committed by GitHub
parent
commit
4c49dfb9aa
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      aspnet-core/modules/task-management/LINGYUN.Abp.Quartz.SqlInstaller/LINGYUN/Abp/Quartz/SqlInstaller/AbpQuartzSqlInstallerModule.cs

2
aspnet-core/modules/task-management/LINGYUN.Abp.Quartz.SqlInstaller/LINGYUN/Abp/Quartz/SqlInstaller/AbpQuartzSqlInstallerModule.cs

@ -38,7 +38,7 @@ public class AbpQuartzSqlInstallerModule : AbpModule
{
var configuration = context.ServiceProvider.GetRequiredService<IConfiguration>();
if (configuration.GetValue("Quartz:UsePersistentStore", false) &&
!configuration[StdSchedulerFactory.PropertyJobStoreType].IsNullOrWhiteSpace())
!configuration[$"Quartz:Properties:{StdSchedulerFactory.PropertyJobStoreType}"].IsNullOrWhiteSpace())
{
// 初始化 Quartz 数据库
await context.ServiceProvider

Loading…
Cancel
Save