public async Task <HealthCheckResult> CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken = default) { await index.CountAsync(); return(HealthCheckResult.Healthy("Orleans must establish communication.")); }
public async Task <HealthCheckResult> CheckHealthAsync(CancellationToken cancellationToken = default(CancellationToken)) { await index.CountAsync(); return(new HealthCheckResult(true)); }