mirror of
https://github.com/Darkrock-Studios/hammer-editor.git
synced 2026-08-04 23:29:46 +00:00
Now that refresh tokens expire, expired auth_token rows accumulated forever since nothing deleted them. Add a daily maintenance job that purges auth_token rows whose refresh window has fully elapsed (so a still-refreshable row is never deleted), sharing AccountsRepository's REFRESH_TOKEN_WINDOW so the cutoff can't drift from the refresh policy. The job follows the existing job pattern (DI singleton + configure* at boot, stopped on ApplicationStopped) and also runs the previously unscheduled password-reset token cleanup. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||