mirror of https://github.com/apache/superset.git
[Celery] fix the celery worker concurrency settings (#3126)
This commit is contained in:
parent
a626f994bf
commit
256a521bf1
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue