FYI I made a patch for lemmy that turns off pictrs caching - eviltoast

I was getting close to hitting the end of my free object storage so there was time pressure involved haha.

Seems to work but I haven’t tested it too much. Currently running on my instance.

  • 𝙣𝙪𝙠𝙚@yah.lol
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 year ago

    Great work!

    This got me thinking, does Lemmy clear orphan pictrs files? Say a user uploads an image but never submits the comment/post? That file is still on your pictrs and publicly linkable. And what if the post or comment is removed by moderator or deleted by the author? Is Lemmy cleaning these up?

    • nick@campfyre.nickwebster.devOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I don’t think anything in lemmy is currently clearing that. There are community scripts around that do some clearing but I have not tried them.