ephraimbuddy commented on PR #32572:
URL: https://github.com/apache/airflow/pull/32572#issuecomment-1877484202
Did we benchmark this PR cause I saw that this slowed Airflow by more than
half?
I ran the below DAG in the current main using breeze, and it took about 4
minutes to complete the dagrun. However, when I changed the max_tis_per_query
to 512, the dagrun completed in less than 2mins.
```python
from airflow import DAG
from datetime import datetime
from airflow.decorators import task
with DAG(
dag_id='bug',
start_date=datetime(2021, 1, 1),
schedule_interval=None,
catchup=False,
) as dag:
@task
def task1():
return 1
for i in range(1000):
task1.override(task_id=f'task{i}')()
```
cc @vandonr-amz
--
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]