mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 02:41:14 -05:00
change data retention to 7 days, 23 hours
This commit is contained in:
@@ -188,7 +188,7 @@ def dao_get_jobs_older_than_data_retention(notification_types):
|
|||||||
.all()
|
.all()
|
||||||
)
|
)
|
||||||
|
|
||||||
end_date = today - timedelta(days=7)
|
end_date = today - timedelta(days=7, hours=23)
|
||||||
for notification_type in notification_types:
|
for notification_type in notification_types:
|
||||||
services_with_data_retention = [
|
services_with_data_retention = [
|
||||||
x.service_id
|
x.service_id
|
||||||
|
|||||||
Reference in New Issue
Block a user