Skip to content

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