dotnet/aspnetcore
services.AddHealthChecks missing overload that takes delegate for configuring HealthChecksOptions
已关闭
#8,530 创建于 2019年3月14日
affected-very-fewarea-healthchecksenhancementgood first issuehelp wantedseverity-minor
仓库指标
- 星标
- (37,933 个星标)
- PR 合并指标
- (平均合并 16天 9小时) (30 天内合并 258 个 PR)
描述
We need to add the overload to Health Checks to enable passing an options configuration delegate when adding Health Checks to services, e.g.:
services.AddHealthChecks(options =>
{
options.AllowCachingResponses = true;
}).AddCheck<MyHealthCheck>()
@rynowak @glennc