Xabaril/AspNetCore.Diagnostics.HealthChecks

Redis Health Check

Open

#750 geöffnet am 30. März 2021

Auf GitHub ansehen
 (3 Kommentare) (8 Reaktionen) (0 zugewiesene Personen)C# (3.776 Stars) (737 Forks)batch import
help wanted

Beschreibung

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

Contributor Guide