nuclearpinguin commented on a change in pull request #7206: [AIRFLOW-6591] Add 
cli option to stop celery worker
URL: https://github.com/apache/airflow/pull/7206#discussion_r368231509
 
 

 ##########
 File path: airflow/cli/commands/celery_command.py
 ##########
 @@ -93,9 +98,6 @@ def _serve_logs(skip_serve_logs: bool = False) -> 
Optional[Process]:
 @cli_utils.action_logging
 def worker(args):
     """Starts Airflow Celery worker"""
-    env = os.environ.copy()
-    env['AIRFLOW_HOME'] = settings.AIRFLOW_HOME
-
 
 Review comment:
   Unused stuff

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to