Browse Source

fix(tasks): Fix the quartz configuration prefix

pull/1177/head
colin 10 months ago
parent
commit
dc69a5f7d2
  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