viitoare commented on issue #39717:
URL: https://github.com/apache/airflow/issues/39717#issuecomment-2220298270

   > > I found a very strange phenomenon. In the airflow.cfg file, I set the 
parallelism to 300, but when I printed the value of self.parallelism in the 
base_executor.py file, it was 32. It seems that my configuration is not taking 
effect.
   > 
   > You forgot to mention which executor you have, but maybe it's overridden 
in configuration of your I found a very strange phenomenon. In the airflow.cfg 
file, I set the parallelism to 300, but when I printed the value of 
self.parallelism in the base_executor.py file, it was 32. It seems that my 
configuration is not taking effect., and maybe it's overridden via ENV_VARIABLE 
- debugging it up the stack should help you to find it out.
   > 
   > (and it's a bit tangential to the problem - I suggest to open a separate 
discussion about it if you want to continue)
   
   Sorry, I didn't describe it clearly. I am using the CeleryExecutor. When I 
set parallelism=300 only in airflow.cfg and do not add 
AIRFLOW__CORE__PARALLELISM in docker-compose.yaml, the value of 
self.parallelism printed in base_executor.py is 32. When I add 
AIRFLOW__CORE__PARALLELISM: 300 in docker-compose.yaml, the value of 
self.parallelism printed in base_executor.py is the configured 300.


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