Skip to content

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

@matrixbot

Description

@matrixbot

This issue has been migrated from #15434.


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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions