Skip to content

Commit

Permalink
remove braces :)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas steuck committed Jan 15, 2025
1 parent ab236eb commit f33f9aa
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,10 @@ public void ConfigureServices(IServiceCollection serviceCollection)
if (_hangfireConfig.InMemory)
conf.UseMemoryStorage();
else
{
conf.UsePostgreSqlStorage(opts => opts.UseNpgsqlConnection(_hangfireConfig.ConnectionString), new PostgreSqlStorageOptions
{
InvisibilityTimeout = TimeSpan.FromMinutes(_hangfireConfig.InvisibilityTimeoutInMinutes)
});
}
conf.UseSimpleAssemblyNameTypeSerializer();
_configurators.ForEach(x => x.Configure(conf));
}
Expand Down

0 comments on commit f33f9aa

Please sign in to comment.