Skip to content

Check health of connection to Redis #14

@ghost

Description

First of all, thanks for this crate! This and async-session have been really useful in setting up the project I'm working on.

I have a feature request, though; I want to be able to check the current connection to Redis to make sure it is still working, for a healthcheck endpoint. I believe I can do that by just calling .get_connection() on the redis client, but that is a private field in RedisSessionStore so it needs to be implemented on there.

I can just add a trait to do this and hack around it, but I thought it'd be better to add to the actual crate for others to use. I'm going to make a PR to add this feature, just thought I should make an issue first to explain my reasoning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions