You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2018/09/05 00:32:06 UTC
[incubator-superset] branch master updated: [celery] setting
default (#5812)
This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new cf12ea0 [celery] setting default (#5812)
cf12ea0 is described below
commit cf12ea0f03f01a52646145f3f797071c5e6b881b
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Tue Sep 4 17:32:01 2018 -0700
[celery] setting default (#5812)
---
superset/utils.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/superset/utils.py b/superset/utils.py
index 79b1ee4..8480b17 100644
--- a/superset/utils.py
+++ b/superset/utils.py
@@ -712,6 +712,7 @@ def get_celery_app(config):
return _celery_app
_celery_app = celery.Celery()
_celery_app.config_from_object(config.get('CELERY_CONFIG'))
+ _celery_app.set_default()
return _celery_app