feat: 完成job模块优化
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user