diff --git a/superset/config.py b/superset/config.py index 3008d32424536..53bab7ae22c5a 100644 --- a/superset/config.py +++ b/superset/config.py @@ -266,11 +266,12 @@ # Example: class CeleryConfig(object): - BROKER_URL = 'redis://localhost:6379/0' - CELERY_IMPORTS = ('superset.sql_lab', ) - CELERY_RESULT_BACKEND = 'redis://localhost:6379/1' - CELERY_ANNOTATIONS = {'tasks.add': {'rate_limit': '10/s'}} - CELERY_TASK_PROTOCOL = 1 + BROKER_URL = 'redis://localhost:6379/0' + CELERY_IMPORTS = ('superset.sql_lab', ) + CELERY_RESULT_BACKEND = 'redis://localhost:6379/1' + CELERY_ANNOTATIONS = {'tasks.add': {'rate_limit': '10/s'}} + CELERY_TASK_PROTOCOL = 1 + CELERY_CONFIG = CeleryConfig # CELERY_CONFIG = None