You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "TJaniF (via GitHub)" <gi...@apache.org> on 2025/04/01 14:10:13 UTC
Re: [I] `max_active_tis_per_dag` is not working (neither for regular tasks across dag runs nor for dynamically mapped tasks) [airflow]
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()
```

--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org