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

perf: add filter to query only non expired sessions #4288

Merged

Conversation

siddhsuresh
Copy link
Member

@siddhsuresh siddhsuresh commented Jan 23, 2024

What are the changes and their implications?

  • add check to make sure we only query the sessions whose expiredAt dates are after the current date

Bug Checklist

  • Changeset added (run pnpm changeset in the root directory)

Copy link

changeset-bot bot commented Jan 23, 2024

🦋 Changeset detected

Latest commit: f550aa0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@blitzjs/auth Patch
blitz Patch
next-blitz-auth Patch
@blitzjs/rpc Patch
@blitzjs/next Patch
@blitzjs/codemod Patch
@blitzjs/config Patch
@blitzjs/generator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@siddhsuresh siddhsuresh changed the title (internal) perf: add filter to select only non expired sessions (internal) perf: add filter to query only non expired sessions Jan 23, 2024
@siddhsuresh siddhsuresh changed the title (internal) perf: add filter to query only non expired sessions perf: add filter to query only non expired sessions Feb 6, 2024
@kodiakhq kodiakhq bot merged commit dd604c7 into main Feb 6, 2024
@kodiakhq kodiakhq bot deleted the siddharth/make-sure-only-selects-non-expired-sessions branch February 6, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants