Change delivery receipts tasks time to help UI lag

This commit is contained in:
Andrew Shumway
2025-01-07 09:27:04 -07:00
parent fbbb7aa49f
commit 2b3c9c869e
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": {