diff --git a/app/dao/jobs_dao.py b/app/dao/jobs_dao.py index 81db8f19f..f4914e423 100644 --- a/app/dao/jobs_dao.py +++ b/app/dao/jobs_dao.py @@ -188,7 +188,8 @@ def dao_get_jobs_older_than_data_retention(notification_types): .all() ) - end_date = today - timedelta(days=7) + # notify-api-1287, make default data retention 7 days, 23 hours + end_date = today - timedelta(days=7, hours=23) for notification_type in notification_types: services_with_data_retention = [ x.service_id diff --git a/docs/all.md b/docs/all.md index fa3f6de03..04d78b1c6 100644 --- a/docs/all.md +++ b/docs/all.md @@ -1425,3 +1425,12 @@ For application 'notify-api-sandbox': Service instance 'notify-api-rds-sandbox' ``` Run `cf target -o gsa-tts-benefits-studio -s notify-sandbox` before pushing to the Sandbox + +### Searchable tags for 'hot' items + +Note: better to search on space 'notify-production' rather than specifically for admin or api + +#notify-admin-1200 (job cache regeneration) +#notify-admin-1505 (general login issues) +#notify-admin-1701 (wrong sender phone number) +#notify-admin-1859 (job is created with created_at being the wrong time)