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

feat: add cleanup of unverified factors in 24 hour window #1379

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

J0
Copy link
Contributor

@J0 J0 commented Jan 18, 2024

What kind of change does this PR introduce?

Unverified Factors are unlikely to be relevant after a 24 hour window. This PR cleans up unverified factors so they don't clog the database.

We cleanup unverified factors after 24 hours but this doesn't catch users who abandon the setup process midway (e.g. enroll and then leave)

@J0 J0 requested a review from a team as a code owner January 18, 2024 15:15
Copy link
Contributor

@hf hf left a comment

Choose a reason for hiding this comment

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

Looks OK.

@J0 J0 merged commit 0100a80 into master Jan 19, 2024
2 checks passed
@J0 J0 deleted the j0/periodic_cleanup_of_stale_factors branch January 19, 2024 10:57
Copy link
Contributor

🎉 This PR is included in version 2.139.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

uxodb pushed a commit to uxodb/auth that referenced this pull request Nov 13, 2024
)

## What kind of change does this PR introduce?

Unverified Factors are unlikely to be relevant after a 24 hour window.
This PR cleans up unverified factors so they don't clog the database.

We cleanup `unverified` factors after 24 hours but this doesn't catch
users who abandon the setup process midway (e.g. enroll and then leave)

Co-authored-by: joel <[email protected]>
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 13, 2024
)

## What kind of change does this PR introduce?

Unverified Factors are unlikely to be relevant after a 24 hour window.
This PR cleans up unverified factors so they don't clog the database.

We cleanup `unverified` factors after 24 hours but this doesn't catch
users who abandon the setup process midway (e.g. enroll and then leave)

Co-authored-by: joel <[email protected]>
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 15, 2024
)

## What kind of change does this PR introduce?

Unverified Factors are unlikely to be relevant after a 24 hour window.
This PR cleans up unverified factors so they don't clog the database.

We cleanup `unverified` factors after 24 hours but this doesn't catch
users who abandon the setup process midway (e.g. enroll and then leave)

Co-authored-by: joel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants