Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New parameter for media_retention: spare_local_media_below_filesize #18199

Open
composite9239 opened this issue Mar 3, 2025 · 0 comments
Open

Comments

@composite9239
Copy link

Description:

Allows users to spare media below a certain filesize, in bytes. This seems like it would be straightforward to implement and helpful for people who only want large media files to be deleted automatically.

In the same vein, spare_remote_media_below_filesize might as well also be added (0 by default, of course).

Example config:

media_retention:
    local_media_lifetime: 90d
    spare_local_media_below_filesize: 10000000
    remote_media_lifetime: 14d
    spare_remote_media_below_filesize: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant