Skip to content

Allow passing a ConnectionMultiplexerFactory or Instance to AddStackExchangeRedisCache #3903

@evilpilaf

Description

@evilpilaf

Currently the implementation for AddStackExchangeRedisCache only lets developers configure a connection string or connection options for setting up the Redis connection, it'd be very useful if it was also possible to pass in a ConnectionMultiplexer instance or factory, dus letting us reuse connections to caches.

This would also let us plug in with OpenTelemetry as it requires a ConnectionMultiplexer object in order to set the telemetry information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions