mistercrunch commented on a change in pull request #3267: Use sane Celery 
defaults to prevent tasks from being delayed
URL: 
https://github.com/apache/incubator-superset/pull/3267#discussion_r132326870
 
 

 ##########
 File path: superset/cli.py
 ##########
 @@ -194,7 +194,7 @@ def worker(workers):
         celery_app.conf.update(
             CELERYD_CONCURRENCY=config.get("SUPERSET_CELERY_WORKERS"))
 
-    worker = celery_worker.worker(app=celery_app)
+    worker = app.Worker(optimization='fair')
 
 Review comment:
   `app` in this context is the Flask app, not `celery_app`
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to