o-nikolas commented on PR #49433:
URL: https://github.com/apache/airflow/pull/49433#issuecomment-2851478727

   > Our helm chart supports still both Airlfow 2 and Airflow 3 .. Is not that 
change handling only Airflow 3 case? Should we make it:
   > 
   >     * if Airflow 2 -> LocalExecutor
   > 
   >     * else > executor
   > 
   > 
   > ?
   > 
   > Or am I missing something ?
   
   Under Airflow 2 you should not need to specifically set 
core.executor=LocalExecutor either, the tasks will run on the local task runner 
either way because the `--local` is passed to the workers already (see @kaxil's 
investigation). That is all the same for Airflow 2 as well. But it also wont 
cause any harm if you'd like to set it to LocalExecutor in the Airflow 2 branch 
(other than, again, there is no need and config should be consistent 
everywhere).


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to