You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/10/07 21:00:06 UTC

[GitHub] [airflow] turbaszek commented on a change in pull request #11336: Refactor celery worker command

turbaszek commented on a change in pull request #11336:
URL: https://github.com/apache/airflow/pull/11336#discussion_r501306757



##########
File path: airflow/cli/commands/celery_command.py
##########
@@ -130,17 +127,15 @@ def worker(args):
             pass
 
     # Setup Celery worker
-    worker_instance = worker_bin.worker(app=celery_app)
     options = {
         'optimization': 'fair',
-        'O': 'fair',

Review comment:
       Because according to worker implementation:
   ```
   self.optimization = optimization or O
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org