Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

media_retention - enhancement to provide more control over deletion. #15434

Open
@ajohns92a

Description

@ajohns92a

Enhance features to purge media regardless of when it was accessed last

Media retention limits are observed, as long as the file is not accessed. This is clearly stated here:

options control whether media will be purged if it has not been accessed in a given amount of time. Note that media is 'accessed' when loaded in a room in a client, or otherwise downloaded by a local or remote user.
https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#media_retention

That's awesome. But as long as someone somewhere on some random federated server keeps hitting up the file, it will remain forever. Could an override be put in to delete media after a set period, regardless of when it was accessed last?
One caveat, it would need to not apply to Profile pictures and room profile pictures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Disk-Spacethings which fill up the diskA-Media-RepositoryUploading, downloading images and video, thumbnailingS-MinorBlocks non-critical functionality, workarounds exist.T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions