You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far i understand, we would need to create a periodic_task using celery that would run maybe every midnight to delete all the notifications that are older than 90 days.
but can we specify a few things for me,
Like what would be a great place to create this scheduler function(maybe inside a new file - care/facility/tasks/notification/delete_older_notifications.py)??
period/Time to run the task(maybe every midnight)??
Is your feature request related to a problem? Please describe.
The notification table is huge. We don't want notification records older than 90 days.
Describe the solution you'd like
Periodically hard delete records from Notifications table that are older than 90 days.
The text was updated successfully, but these errors were encountered: