mastodon: clean media older than 7 days #143

Merged
teutat3s merged 1 commit from mastodon/auto-clean-7-days into main 2024-04-06 16:07:35 +00:00
Owner

Currently we keep everything for 30 days, which is about 180GB. This is just the cache of our mastodon server, in case a user opens a toot with non-cached media, even after cleaning up, it will just be re-fetched.

Currently we keep everything for 30 days, which is about 180GB. This is just the cache of our mastodon server, in case a user opens a toot with non-cached media, even after cleaning up, it will just be re-fetched.
teutat3s added 1 commit 2024-04-05 21:53:28 +00:00
mastodon: clean media older than 7 days
All checks were successful
Flake checks / Check (pull_request) Successful in 8m3s
41e4d3427c
Currently we keep everything for 30 days, which is about 180GB
b12f approved these changes 2024-04-05 21:55:14 +00:00
b12f left a comment
Owner

Are we running out of space or is this just expensive? 180GB is a lot for sure

Are we running out of space or is this just expensive? 180GB is a lot for sure
Author
Owner

Billing-wise we're still at ~6$ for March 2024. I'd like to keep this down if possible, I believe UX impact of this change is minimal.

EDIT: To be clear, these 180GB do not live on nachtigall, this is a S3 service provided by storj.io.

Billing-wise we're still at ~6$ for March 2024. I'd like to keep this down if possible, I believe UX impact of this change is minimal. EDIT: To be clear, these 180GB do not live on nachtigall, this is a S3 service provided by storj.io.
teutat3s merged commit 9698c47530 into main 2024-04-06 16:07:35 +00:00
teutat3s deleted branch mastodon/auto-clean-7-days 2024-04-06 16:07:35 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pub-solar/infra#143
No description provided.