From 7471d05b619f9cf72b022ccd0c8482e3914a6211 Mon Sep 17 00:00:00 2001 From: ychung-mot Date: Fri, 31 May 2024 07:53:16 -0700 Subject: [PATCH] chore: hangfire upgrade --- server/StrDss.Hangfire/Program.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/StrDss.Hangfire/Program.cs b/server/StrDss.Hangfire/Program.cs index e3ad2909..7313cdfe 100644 --- a/server/StrDss.Hangfire/Program.cs +++ b/server/StrDss.Hangfire/Program.cs @@ -104,7 +104,11 @@ .SetDataCompatibilityLevel(CompatibilityLevel.Version_170) .UseSimpleAssemblyNameTypeSerializer() .UseRecommendedSerializerSettings() - .UsePostgreSqlStorage(connString)); + .UsePostgreSqlStorage((option) => + { + option.UseNpgsqlConnection(connString); + } +)); builder.Services.AddHangfireServer(options => {