I’m self-hosting the docker containers and I noticed the pictrs directory is steadily growing because of the cached images. Does anyone know if it gets cleaned up automatically or are hosters running scripts to clean it up after a certain amount of time? The install guides make no mention of it from what I can find.

  • nephs@lemmygrad.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    It would probably be worth it to have that period be configurable by instance admins…

    • rs5th@lemmy.scottlabs.io
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      I think it’s configurable inside pict-rs’s configuration file. I haven’t messed with it though. I’m also not sure if pict-rs has an API that lemmy can use to configure that.