Remove on-start health check in Ordering.BackgroundTasks so that it doesn't crash on startup

This commit is contained in:
Reuben Bond 2023-05-08 13:32:05 -07:00
parent 8f9f9d168f
commit 6ebde3fb5c

View File

@ -8,11 +8,6 @@ builder.Services.AddHostedService<GracePeriodManagerService>();
var app = builder.Build();
if (!await app.CheckHealthAsync())
{
return;
}
app.UseServiceDefaults();
await app.RunAsync();