dotnet/aspnetcore

services.AddHealthChecks missing overload that takes delegate for configuring HealthChecksOptions

已关闭

#8,530 创建于 2019年3月14日

 (7 条评论) (4 个反应) (0 位负责人)C# (10,653 个派生)batch import
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

贡献者指南