diff --git a/app/celery/scheduled_tasks.py b/app/celery/scheduled_tasks.py index 3a3fa696e..2dcd570cc 100644 --- a/app/celery/scheduled_tasks.py +++ b/app/celery/scheduled_tasks.py @@ -256,7 +256,7 @@ def process_delivery_receipts(self): cloudwatch = AwsCloudwatchClient() cloudwatch.init_app(current_app) - start_time = aware_utcnow() - timedelta(minutes=10) + start_time = aware_utcnow() - timedelta(minutes=3) end_time = aware_utcnow() delivered_receipts, failed_receipts = cloudwatch.check_delivery_receipts( start_time, end_time diff --git a/app/config.py b/app/config.py index 53a2f9a0d..d3f2a5197 100644 --- a/app/config.py +++ b/app/config.py @@ -200,7 +200,7 @@ class Config(object): }, "process-delivery-receipts": { "task": "process-delivery-receipts", - "schedule": timedelta(minutes=8), + "schedule": timedelta(minutes=2), "options": {"queue": QueueNames.PERIODIC}, }, "expire-or-delete-invitations": {