Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically delete expired sessions from database #27

Open
airblade opened this issue Jun 21, 2022 · 1 comment
Open

Automatically delete expired sessions from database #27

airblade opened this issue Jun 21, 2022 · 1 comment

Comments

@airblade
Copy link
Owner

airblade commented Jun 21, 2022

It's not clear what a good time to do this is.

We don't want to do it during a user's request. But we don't want to assume a background job system.

Perhaps the answer is a scope on QuoVadis::Session and a snippet in the README showing how to use it from, say, a cron job.

@airblade
Copy link
Owner Author

airblade commented Apr 3, 2023

Quo Vadis is built for Rails so we can assume a background job system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant