I.E. delete images in the instance that are over X days old and aren’t saved by a user?
If not, I will be writing one.
Might also make sense to, if not delete them, mark them as old and move them to a different storage location/server. Would enable them to be put on, say a spinner, or on a lower-powered server with spinners.
And created. Will be making a new post for it, and look at moving to cold storage later. https://github.com/Fmstrat/lpp
That was some quick work. A+!
Good call. I’m about to look at methodologies now, first I’m posting a Community Seeder for new or small instances here momentarily. The
purgePost
API could work, but I’m going to need direct DB access to get a list of saved and commented on items for all users anyway, so this may be deeper. I’m
Hahah, I was just about to say that there is a post in selfhosted that will do this.
Nope, itsa you! Great job!
Thanks!
I’m pretty sure pict-rs only caches images for a week. The cache being thumbnails, etc for links that are posted on any instance federated with yours.
What makes you think this?
This setting in the pict-rs source. It was removed 4 days ago though, so maybe it’s no longer used? Unsure.