diff --git a/controlpanel/settings/common.py b/controlpanel/settings/common.py index c946d0cdb..169e85040 100644 --- a/controlpanel/settings/common.py +++ b/controlpanel/settings/common.py @@ -551,14 +551,12 @@ PRE_DEFINED_QUEUES = [IAM_QUEUE_NAME, S3_QUEUE_NAME, AUTH_QUEUE_NAME] CELERY_DEFAULT_QUEUE = DEFAULT_QUEUE SQS_REGION = os.environ.get("SQS_REGION", "eu-west-2") - BROKER_TRANSPORT_OPTIONS = { "polling_interval": 1, "region": SQS_REGION, - "wait_time_seconds": 20, + "wait_time_seconds": 0, "predefined_queues": {} } - for queue in PRE_DEFINED_QUEUES: BROKER_TRANSPORT_OPTIONS['predefined_queues'][queue] = { 'url': f'https://sqs.{SQS_REGION}.amazonaws.com/{AWS_DATA_ACCOUNT_ID}/{queue}',