chore: 消除构建警告并升级依赖

This commit is contained in:
2025-12-02 11:18:38 +08:00
parent e8777faf71
commit 3e01943727
4 changed files with 20 additions and 13 deletions

View File

@@ -33,7 +33,10 @@ public static class SchedulerServiceCollectionExtensions
config
.UseSimpleAssemblyNameTypeSerializer()
.UseRecommendedSerializerSettings()
.UsePostgreSqlStorage(options.ConnectionString);
.UsePostgreSqlStorage(storage =>
{
storage.UseNpgsqlConnection(options.ConnectionString);
});
});
services.AddHangfireServer((serviceProvider, options) =>