mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[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)
|
celery_app.conf.update(CELERYD_CONCURRENCY=workers)
|
||||||
elif config.get("SUPERSET_CELERY_WORKERS"):
|
elif config.get("SUPERSET_CELERY_WORKERS"):
|
||||||
celery_app.conf.update(
|
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 = celery_worker.worker(app=celery_app)
|
||||||
worker.run()
|
worker.run()
|
||||||
|
Loading…
Reference in New Issue
Block a user