potiuk commented on a change in pull request #6472: [AIRFLOW-6058] Running 
tests with pytest
URL: https://github.com/apache/airflow/pull/6472#discussion_r350429351
 
 

 ##########
 File path: airflow/www/views.py
 ##########
 @@ -1029,7 +1029,6 @@ def blocked(self, session=None):
             for dag_id, active_dag_runs in dags:
                 max_active_runs = 0
                 dag = dagbag.get_dag(dag_id)
-                max_active_runs = dagbag.dags[dag_id].max_active_runs
 
 Review comment:
   Why removing it here? I guess the next 2 lines make it works as expected?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to