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

[celery] Using preferred configuration proceedure (#5726) #99

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion superset/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,8 @@ def get_celery_app(config):
global _celery_app
if _celery_app:
return _celery_app
_celery_app = celery.Celery(config_source=config.get('CELERY_CONFIG'))
_celery_app = celery.Celery()
_celery_app.config_from_object(config.get('CELERY_CONFIG'))
return _celery_app


Expand Down