Skip to content

fix: [BB-6077] allow setting celery backend in yml - #467

Merged
navinkarkera merged 1 commit into
opencraft-release/lilac.2from
navin/fix-celery-backend
May 26, 2022
Merged

fix: [BB-6077] allow setting celery backend in yml#467
navinkarkera merged 1 commit into
opencraft-release/lilac.2from
navin/fix-celery-backend

Conversation

@navinkarkera

Copy link
Copy Markdown
Member

Cherry pick of: openedx#30244

Description

Currently, the CELERY_RESULT_BACKEND is hard coded to use django-cache.

This PR allows to setup CELERY_RESULT_BACKEND via ENV_TOKENS.

To use django ORM as celery backend, one can set CELERY_RESULT_BACKEND to django-db as described in docs.

@navinkarkera navinkarkera changed the title refactor: [BB-6077] allow setting celery backend in yml fix: [BB-6077] allow setting celery backend in yml Apr 14, 2022

@kaustavb12 kaustavb12 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Looks good to me

  • I tested this: Tested it in the PR sandbox
  • I read through the code

@navinkarkera
navinkarkera merged commit e52c1d3 into opencraft-release/lilac.2 May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants