Skip to content

Delete temp files based on retention setting #84

@mattprecious

Description

@mattprecious

I configured the backend container using the tmpfs settings in the provided compose file:

tmpfs:
  - /tmp:size=16M

This space is only freed after a container is stopped, so after running the container for 25 days my /tmp directory filled up. I have increased the size to 512M, which should be long enough that there will be a natural container stop before it fills up, but this feels wasteful since these files are only needed for a short period of time.

It would be nice if the app cleared out old temp files automatically, either with a reasonable hard-coded time, a new setting, or even just the current retention setting (which I have set to 7 days).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions