删除hangfire(不支持毫秒级别)

This reverts commit 49a9eb5460.
This commit is contained in:
陈淳
2022-11-29 12:34:45 +08:00
parent 0f2dc4d3ba
commit d97ef84b7e
5 changed files with 0 additions and 78 deletions

View File

@@ -80,15 +80,6 @@ builder.Services.AddSqlsugarServer(DbFiterExtend.Data);
//Quartz<74><7A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#endregion
builder.Services.AddQuartzService();
builder.Services.AddHangfire(option =>
{
option.SetDataCompatibilityLevel(CompatibilityLevel.Version_170);//ȫ<><C8AB><EFBFBD><EFBFBD><EFBFBD>ü<EFBFBD><C3BC>ݰ汾<DDB0><E6B1BE><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD>
option.UseColouredConsoleLogProvider();//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־
option.UseSimpleAssemblyNameTypeSerializer();//ʹ<>ü򵥳<C3BC><F2B5A5B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD><D0BB><EFBFBD><EFBFBD><EFBFBD>
option.UseRecommendedSerializerSettings();//ʹ<><CAB9><EFBFBD>Ƽ<EFBFBD><C6BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD><D0BB><EFBFBD><EFBFBD><EFBFBD>
option.UseMemoryStorage();
});
builder.Services.AddHangfireServer();
#region
//AutoMapperע<72><D7A2>
#endregion
@@ -240,10 +231,6 @@ app.UseDbSeedInitService();
#endregion
app.UseRedisSeedInitService();
app.UseHangfireDashboard();
app.UseEndpoints(endpoints =>
{
#region
@@ -251,7 +238,6 @@ app.UseEndpoints(endpoints =>
#endregion
endpoints.MapHub<MainHub>("/api/hub/main");
endpoints.MapControllers();
endpoints.MapHangfireDashboard();
});
//׼<><D7BC><EFBFBD><EFBFBD><EFBFBD>Ӷ<EFBFBD><D3B6>