feat: 完成job模块优化

This commit is contained in:
橙子
2025-02-23 01:31:30 +08:00
parent f8a4c737ee
commit f6b19ec2a5
20 changed files with 40 additions and 66 deletions

View File

@@ -1,5 +1,10 @@
using Volo.Abp.Auditing;
using Hangfire;
using Hangfire.MemoryStorage;
using StackExchange.Redis;
using Volo.Abp.Auditing;
using Volo.Abp.Autofac;
using Volo.Abp.BackgroundJobs.Hangfire;
using Volo.Abp.BackgroundWorkers;
using Yi.Abp.Application;
using Yi.Abp.SqlsugarCore;
@@ -8,14 +13,14 @@ namespace Yi.Abp.Test
[DependsOn(
typeof(YiAbpSqlSugarCoreModule),
typeof(YiAbpApplicationModule),
typeof(AbpAutofacModule),
typeof(AbpAuditingModule)
typeof(AbpAutofacModule)
)]
public class YiAbpTestModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<AbpBackgroundWorkerOptions>(options=>options.IsEnabled=false);
}
}
}