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

Cleanup expired sessions #25

Open
valiafetisov opened this issue Nov 11, 2022 · 0 comments · May be fixed by #53
Open

Cleanup expired sessions #25

valiafetisov opened this issue Nov 11, 2022 · 0 comments · May be fixed by #53
Labels
enhancement New feature or request

Comments

@valiafetisov
Copy link

valiafetisov commented Nov 11, 2022

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)

@valiafetisov valiafetisov added the enhancement New feature or request label Nov 11, 2022
@interpretor interpretor linked a pull request Dec 1, 2022 that will close this issue
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant