Hey I do exactly the same, high 5!
lodion
Looks like something may have changed with the DNS records for the server. I'm seeing a few bounce messages. Will need to look at this tomorrow.
Basically deleting files from the Wasabi cache directory that haven't been accessed in whatever time threshold I've specified as X:
find -atime +X -exec rm {}
Midnight is something internal to Lemmy, I think it's just a DB cleanup. The other is clearing unused caches items from Wasabi.
This has upset the applecart at work today. Thankfully I'm just a lowly packet pusher, not a cloud jockey. 😀
Sadly this isn't new, its been known about for quite some time. Slightly irresponsible for that person to post and make a big noise about it without creating a github issue though. Ideally the lemmy devs will add code to automatically purge orphaned images. Hopefully this public noise around it will hurry this up.
I see this much like the extraneous data being stored in the database previously; low hanging fruit for devs to optimise and make hosting an instance less resource intensive. Yes there are possible legal risks for uploads that are not referenced on lemmy, but the reality is this could happen deep in a comment thread or a user profile anyway.
Yes lemmy's modding features are... lacking. However there are some non-lemmy services availble to stop this sort of thing that I'm looking into.
Sync also has an option to enable avatars. I can't use any client that doesn't have avatars available. I'm too used to identifying people by their avatars... and now emojis and OP/admin tags.
The way lemmy caches images isn't well documented. Some third party images are not cached, others are. I don't want to risk it.
Nuking it from orbit, only way to be sure.
Not in the current version of lemmy. It is planned for a future release.