Skip to content

Commit

Permalink
Merge pull request #1376 from DFE-Digital/dependabot/nuget/Hangfire.P…
Browse files Browse the repository at this point in the history
…ostgreSql-1.20.8

Bump Hangfire.PostgreSql from 1.19.12 to 1.20.8
  • Loading branch information
martyn-w authored May 20, 2024
2 parents 33fa20b + 360f43f commit 1f068b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions GetIntoTeachingApi/AppStart/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,11 @@ public static void AddHangfire(this IServiceCollection services, IEnv env, bool
config.UseMemoryStorage().WithJobExpirationTimeout(JobConfiguration.ExpirationTimeout);
}
else
{ config.UsePostgreSqlStorage(DbConfiguration.HangfireConnectionString(env), new PostgreSqlStorageOptions
{
SchemaName = "hangfire_postgres"
});
{
config.UsePostgreSqlStorage(options =>
options.UseNpgsqlConnection(DbConfiguration.HangfireConnectionString(env)),
new PostgreSqlStorageOptions { SchemaName = "hangfire_postgres" }
);
}
});

Expand Down
2 changes: 1 addition & 1 deletion GetIntoTeachingApi/GetIntoTeachingApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<PackageReference Include="Castle.Core" Version="5.1.1" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.18" />
<PackageReference Include="Hangfire.PostgreSql" Version="1.19.12" />
<PackageReference Include="Hangfire.PostgreSql" Version="1.20.8" />
<PackageReference Include="Microsoft.PowerPlatform.Dataverse.Client" Version="1.1.17" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="8.0.4" />
Expand Down

0 comments on commit 1f068b4

Please sign in to comment.