yuqian90 opened a new pull request #21018:
URL: https://github.com/apache/airflow/pull/21018


   closes: #21017
   
   ---
   Do not change `max_tries` in `refresh_from_tasks()`. This is to prevent the 
web UI from accidentally resetting the value of `max_tries` to the initial 
value and causing tasks in "reschedule" mode to raise `AirflowSensorTimeout` 
prematurely.
   
   Note that this PR only addresses the symptom reported in #21017. A more 
comprehensive fix should be to stop auto-committing the session in `views.py` 
in functions that are not supposed to modify the database. That can be done 
separately if someone is interested.


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