Merge pull request #1518 from GSA/ui-lag-improvements

Change delivery receipts tasks time to help UI lag
This commit is contained in:
Carlo Costino
2025-01-07 12:46:54 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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": {