Items tagged with: iceshrimp

Search

Items tagged with: iceshrimp


Oh, I can! I always forget about swagger and the #iceshrimp API.
curl -X 'POST' \
'fed.interfree.ca/api/iceshrimp/admin/drive/prune-expired-media' \
-H 'accept: /' \
-H 'Authorization: Bearer redacted' \
-d ''
And then it dies because I just asked it to delete hundreds of gigs of files and the poor queue is stuffed. But, like, it's doing the thing. Even if it can't return a result.


Also, while doing my monthly "look at the things to make sure the servers stay healthy", I realized my #iceshrimp media cache had grown to like 500 gigs. I aggressively cut the max file size and max days to cache remote media, because it's full of a bunch of giant mp4 videos from someone. That should fix it. Though I wish I could kick off a MediaCleanupTask now, instead of waiting for midnight. Oh well. We aren't going to run out of space in the next 24 hours or anything.


So glad I checked before filing an issue. #Iceshrimp was absolutely crawling whenever I tried to load a thread with more than about 50 replies. Turns out the database upgrade overwrote my postgresql.conf somehow, and the values were terrible. Checkpoints were taking five minutes. Aww. Poor wiffle database! Daddy made it all better, now.