mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
Merge pull request #1288 from GSA/notify-api-1287
change data retention to 7 days, 23 hours
This commit is contained in:
@@ -188,7 +188,8 @@ def dao_get_jobs_older_than_data_retention(notification_types):
|
|||||||
.all()
|
.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:
|
for notification_type in notification_types:
|
||||||
services_with_data_retention = [
|
services_with_data_retention = [
|
||||||
x.service_id
|
x.service_id
|
||||||
|
|||||||
@@ -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
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user