Skip to content
This repository was archived by the owner on Dec 12, 2023. It is now read-only.
This repository was archived by the owner on Dec 12, 2023. It is now read-only.

Cleanup expired sessions #25

Open
@valiafetisov

Description

@valiafetisov

Describe the feature

Currently, expired sessions are not deleted until the user with the matching session.id comes back. Especially in case of the memory driver it can lead to memory leaks. The solution is to periodically clean up expired sessions independently from the request. I assume simple cron job will be sufficient here.

Additional information

Note: the idea is originated from the discussion in #16 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions