Remove on-start health check in Ordering.BackgroundTasks so that it doesn't crash on startup
This commit is contained in:
parent
8f9f9d168f
commit
6ebde3fb5c
@ -8,11 +8,6 @@ builder.Services.AddHostedService<GracePeriodManagerService>();
|
|||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
if (!await app.CheckHealthAsync())
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
app.UseServiceDefaults();
|
app.UseServiceDefaults();
|
||||||
|
|
||||||
await app.RunAsync();
|
await app.RunAsync();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user