Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit ab0bdbb

Browse files
committed
updated celery broker url and transport options
1 parent 550759e commit ab0bdbb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

backend/backend/settings/production.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,7 @@
4444

4545
# Celery
4646

47-
CELERY_BROKER_URL = f"redis://{REDIS_SERVICE_HOST}:6379/0" # noqa
47+
CELERY_BROKER_URL = "sqs://" # f"redis://{REDIS_SERVICE_HOST}:6379/0" # noqa
48+
CELERY_BROKER_TRANSPORT_OPTIONS = {'region': 'eu-west-1'}
49+
4850
CELERY_RESULT_BACKEND = f"redis://{REDIS_SERVICE_HOST}:6379/0" # noqa

backend/requirements/base.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
boto3==1.9.130
22

33
celery==4.3.0
4+
celery[sqs]==4.3.0
45

56
channels==2.2.0
67
channels-redis==2.4.0

0 commit comments

Comments
 (0)