feat(dx): remove unused files #141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Over time, some cruft will accumulate in our file storage. To reduce the space needed, a maintenance action that can be triggered by the admin would be helpful.
This would find all the files across all the publications, users, etc, and compare them to the files table. Any keys in the files table but not in use, would then be scheduled for deletion.
This would of course require excessive testing and trial runs to ensure nothing of the sorts goes wrong. The deletion of files that are in fact used, would be a truly worst case scenario. The roll out needs to be carefully considered.