Skip to content

Commit c8f1cbe

Browse files
Muhammad Faraz  MaqsoodMuhammad Faraz  Maqsood
authored andcommitted
fix: add CELERY_BROKER_URL for tasks to work
Add CELERY_BROKER_URL settings as celery tasks were failing due to empty celery broker url.
1 parent 75abae2 commit c8f1cbe

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- [Bugfix] Add CELERY_BROKER_URL settings as celery tasks were failing due to empty celery broker url. (by @Faraz32123)

tutordiscovery/templates/discovery/apps/settings/partials/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,6 @@
104104
EVENT_BUS_REDIS_CONNECTION_URL = 'redis://@redis:6379/'
105105
EVENT_BUS_TOPIC_PREFIX = 'dev'
106106
EVENT_BUS_CONSUMER = 'edx_event_bus_redis.RedisEventConsumer'
107+
CELERY_BROKER_URL = 'redis://redis:6379/'
107108

108109
{{ patch("discovery-common-settings") }}

0 commit comments

Comments
 (0)