Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xF6 committed Jan 13, 2024
1 parent 323eb69 commit f9d9542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/Database/DatabaseFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public override void BeforeRegistrations(WebApplicationBuilder webBuilder)
=> webBuilder.Services.AddDbContext<T>(x => this.Setup(new DatabaseAdapter(x, BuildContext)));

public override void BeforeRun(WebApplication webBuilder)
=> webBuilder.WarpUp<T>();
=> webBuilder.WarmUp<T>();

public void HealthCheckRegistration(IHealthChecksBuilder builder)
=> builder.AddCheck<DbHealthCheck>("db", HealthStatus.Degraded, new[] { "database" });
Expand Down

0 comments on commit f9d9542

Please sign in to comment.