superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnbod...@apache.org
Subject [incubator-superset] branch master updated: [celery] setting default (#5812)
Date Wed, 05 Sep 2018 00:32:06 GMT
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 <4567245+john-bodley@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
 
 


Mime
View raw message