pateash commented on code in PR #36935:
URL: https://github.com/apache/airflow/pull/36935#discussion_r1499091455


##########
airflow/api_connexion/schemas/dag_schema.py:
##########
@@ -69,6 +69,7 @@ class Meta:
     tags = fields.List(fields.Nested(DagTagSchema), dump_only=True)
     max_active_tasks = auto_field(dump_only=True)
     max_active_runs = auto_field(dump_only=True)
+    max_consecutive_failed_dag_runs = auto_field(dump_only=True)

Review Comment:
   @eladkal,
   with current logic,
   If a user wants they can manually enable the dag, but its again failed, then 
the dag will automatically be disabled,
   as we are counting last N failed which will again be true.
   
   



-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to