mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
remove functions to not talk about 7 days
remind us that data retention is flexible
This commit is contained in:
@@ -293,7 +293,7 @@ def _filter_query(query, filter_dict=None):
|
||||
|
||||
|
||||
@statsd(namespace="dao")
|
||||
def delete_notifications_created_more_than_a_week_ago_by_type(notification_type, qry_limit=10000):
|
||||
def delete_notifications_older_than_retention_by_type(notification_type, qry_limit=10000):
|
||||
current_app.logger.info(
|
||||
'Deleting {} notifications for services with flexible data retention'.format(notification_type))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user