mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 08:51:30 -05:00
Increase default query limit to 50,000 from 10,000
This commit is contained in:
@@ -297,7 +297,7 @@ def _filter_query(query, filter_dict=None):
|
|||||||
|
|
||||||
|
|
||||||
@statsd(namespace="dao")
|
@statsd(namespace="dao")
|
||||||
def delete_notifications_older_than_retention_by_type(notification_type, qry_limit=10000):
|
def delete_notifications_older_than_retention_by_type(notification_type, qry_limit=50000):
|
||||||
current_app.logger.info(
|
current_app.logger.info(
|
||||||
'Deleting {} notifications for services with flexible data retention'.format(notification_type))
|
'Deleting {} notifications for services with flexible data retention'.format(notification_type))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user