Skip to content

Conversation

@indrasuthar07
Copy link
Contributor

Description

features -

  • On server startup: cleanup runs once immediately
  • Scheduled: cleanup runs according to the cron schedule
  • Query: deletes all sessions where expiresAt < current date
  • Logging: logs the number of sessions deleted

Give a brief description of the pull request.

Semver Changes

  • Patch (bug fix, no new features)
  • Minor (new features, no breaking changes)
  • Major (breaking changes)

Issues

closes #15

List any issues that this pull request closes.

Checklist

Copy link
Member

@04shubham7 04shubham7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Fine

@04shubham7 04shubham7 merged commit 7744aba into OPCODE-Open-Spring-Fest:main Nov 15, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Session Expiry and Cleanup

2 participants