-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
[storage] Set up automatic deletion of old media #117
Comments
Hi there, This is indeed a good idea ! Moreover, with regard to the CNIL, it is important to define a storage period for our images. Concretely, how do you want to implement it ?Is the concept to set up a CRON on a backend script deleting old media ? About the storage period, is 30 days enough time to potentially do training sessions on vision side ? |
Good question, I'm not sure how we could do this 🤷♂️ We'll let the vision team know, but let's work with the maximum legal duration allowed to give them the best flexibility 👍 |
FYI, moving this to a later release, since the problem won't be critical before our first live alerts |
FYI found a service that could help us do that https://posthook.io/ |
Wrapping my way around this, apart from our current process of doing it manually, the only viable way we could do this is with a cron job :) Not a priority since we have limited traffic, I'll move this to a later release |
I'd like a second opinion on this @MateoLostanlen but I think we can close this? |
For now, the media that are uploaded to the bucket are stored indefinitely. But in the long-term, we need to erase those to avoid filling up the disk.
If that's alright with everyone, I suggest setting a MEDIA_PERSISTENCY value in the config (default 30-60days).
What do you think?
cc @jeanpasquier75 @florianriche @fe51
The text was updated successfully, but these errors were encountered: