TJaniF commented on issue #48629:
URL: https://github.com/apache/airflow/issues/48629#issuecomment-2769497332

   The parameter also does not work for regular tasks across dag runs
   
   ```
   from airflow.sdk import dag 
   from airflow.decorators import task 
   from datetime import datetime
   
   @dag()
   def parallel_test():
   
       @task(max_active_tis_per_dag=1)
       def my_task():
           import time 
           time.sleep(60)
           print(datetime.now())
       
       my_task() 
   
   
   parallel_test()
   ```
   
   
![Image](https://github.com/user-attachments/assets/6fb7d033-a703-4fea-bb6e-ae6e184d8026)


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