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
Description
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)