Skip to content

Commit

Permalink
chore: hangfire upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ychung-mot committed May 31, 2024
1 parent 929605c commit 7471d05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/StrDss.Hangfire/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@
.SetDataCompatibilityLevel(CompatibilityLevel.Version_170)
.UseSimpleAssemblyNameTypeSerializer()
.UseRecommendedSerializerSettings()
.UsePostgreSqlStorage(connString));
.UsePostgreSqlStorage((option) =>
{
option.UseNpgsqlConnection(connString);
}
));

builder.Services.AddHangfireServer(options =>
{
Expand Down

0 comments on commit 7471d05

Please sign in to comment.