Xabaril/AspNetCore.Diagnostics.HealthChecks

Redis Health Check

Open

#750 创建于 2021年3月30日

在 GitHub 查看
 (3 评论) (8 反应) (0 负责人)C# (3,776 star) (737 fork)batch import
help wanted

描述

What would you like to be added:

I have already registered a singleton IConnectionMultiplexer to my IoC container and I would like my health check to use that instead.

// Func<IServiceProvider, IConnectionMultiplexer>
.AddRedis(sp => sp.GetRequiredService<IConnectionMultiplexer>())

Why is this needed:

To use the same connection as the application

贡献者指南

Redis Health Check · Xabaril/AspNetCore.Diagnostics.HealthChecks#750 | Good First Issue