Skip to content

Add cache prune cron/command - #192

Merged
Swan merged 4 commits into
mainfrom
cache-prune
Sep 28, 2026
Merged

Swan merged 4 commits into
mainfrom
cache-prune

Conversation

@AiAe

@AiAe AiAe commented Sep 24, 2026

Copy link
Copy Markdown
Member

Adds new command cache:clear that by default only runs dry, to give information on how much it would delete, passing --delete will delete them.
The cron job by default will always delete directly.
We keep the cached files for 90 days.
When file is being accessed via the API, we update its time so we know it was recently accessed, to keep it for longer.

@AiAe
AiAe requested a review from Swan September 24, 2026 20:45
@Swan
Swan merged commit 6ad90db into main Sep 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants