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

Session::last_active #30

Open
Nuhvi opened this issue Sep 7, 2024 · 1 comment
Open

Session::last_active #30

Nuhvi opened this issue Sep 7, 2024 · 1 comment
Assignees

Comments

@Nuhvi
Copy link
Collaborator

Nuhvi commented Sep 7, 2024

Add session last active to keep track of old unused sessions.

Biggest challenge in this is to not write to LMDB too often, so we will need a buffer, which will be useful for other features like keeping track of users whose data were never accessed for a while, allowing deleting them or archiving their data and at least stop republishing their keys.

@Nuhvi Nuhvi self-assigned this Sep 7, 2024
@Nuhvi
Copy link
Collaborator Author

Nuhvi commented Oct 11, 2024

An alternative here is to use timeout / expiration date, cleanup old sessions, and refresh sessions on usuage.

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