superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: [Celery] fix the celery worker concurrency settings (#3126)
Date Fri, 14 Jul 2017 16:44:47 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin 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 256a521  [Celery] fix the celery worker concurrency settings (#3126)
256a521 is described below

commit 256a521bf1083222f16ecbc02ac3d01522ebc9e3
Author: 丁桂涛 <dingguitao@gmail.com>
AuthorDate: Sat Jul 15 00:44:41 2017 +0800

    [Celery] fix the celery worker concurrency settings (#3126)
---
 superset/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/cli.py b/superset/cli.py
index 46b0ca7..f6163bb 100755
--- a/superset/cli.py
+++ b/superset/cli.py
@@ -192,7 +192,7 @@ def worker(workers):
         celery_app.conf.update(CELERYD_CONCURRENCY=workers)
     elif config.get("SUPERSET_CELERY_WORKERS"):
         celery_app.conf.update(
-            worker_concurrency=config.get("SUPERSET_CELERY_WORKERS"))
+            CELERYD_CONCURRENCY=config.get("SUPERSET_CELERY_WORKERS"))
 
     worker = celery_worker.worker(app=celery_app)
     worker.run()

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <commits@superset.apache.org>'].

Mime
View raw message