Skip to content

Add trustpub::DeleteExpiredJtis/Tokens background jobs #11222

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

Merged
merged 4 commits into from
May 27, 2025

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented May 21, 2025

This PR is part of #10247. It implements two backgrounds jobs that delete expired temporary access tokens and JSON web token IDs (JTIs) from the database. The enqueue-job trustpub_cleanup admin command can be set up as a cron job to regularly remove expired rows from the database.

@Turbo87 Turbo87 requested a review from a team May 21, 2025 13:08
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels May 21, 2025
@Turbo87 Turbo87 changed the title Implement trustpub::DeleteExpiredJtis/Tokens background jobs Add trustpub::DeleteExpiredJtis/Tokens background jobs May 23, 2025
@Turbo87 Turbo87 force-pushed the trustpub-cleanup branch from 9eedb86 to dd3dda9 Compare May 23, 2025 15:00
@Turbo87 Turbo87 force-pushed the trustpub-cleanup branch from dd3dda9 to 829fcad Compare May 27, 2025 09:19
@Turbo87 Turbo87 enabled auto-merge May 27, 2025 09:20
@Turbo87 Turbo87 merged commit 4559b6b into rust-lang:main May 27, 2025
10 checks passed
@Turbo87 Turbo87 deleted the trustpub-cleanup branch May 27, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants