Aggiunta conf x healthchecks-ui

This commit is contained in:
Samuele Locatelli
2023-12-27 11:50:51 +01:00
parent ca94cda9c7
commit af24e2a01d
+2 -2
View File
@@ -61,12 +61,12 @@ builder.Services.AddHealthChecks()
builder.Services.AddHealthChecksUI(s =>
{
s.AddHealthCheckEndpoint("GWMS_Services", "health");
s.AddHealthCheckEndpoint("MagMan_Services", "health");
s.SetEvaluationTimeInSeconds(60);
//s.SetEvaluationTimeInSeconds(60);
s.SetMinimumSecondsBetweenFailureNotifications(120);
s.SetApiMaxActiveRequests(5);
s.SetHeaderText("GWMS Health Check Status");
s.SetHeaderText("MagMan Health Check Status");
})
.AddInMemoryStorage();