chore: 消除构建警告并升级依赖
This commit is contained in:
@@ -33,7 +33,10 @@ public static class SchedulerServiceCollectionExtensions
|
||||
config
|
||||
.UseSimpleAssemblyNameTypeSerializer()
|
||||
.UseRecommendedSerializerSettings()
|
||||
.UsePostgreSqlStorage(options.ConnectionString);
|
||||
.UsePostgreSqlStorage(storage =>
|
||||
{
|
||||
storage.UseNpgsqlConnection(options.ConnectionString);
|
||||
});
|
||||
});
|
||||
|
||||
services.AddHangfireServer((serviceProvider, options) =>
|
||||
|
||||
Reference in New Issue
Block a user