You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/10/28 09:05:22 UTC

[GitHub] [airflow] NickYadance commented on a diff in pull request #27289: Add retry to submit_event in trigger to avoid deadlock

NickYadance commented on code in PR #27289:
URL: https://github.com/apache/airflow/pull/27289#discussion_r1007833530


##########
airflow/models/trigger.py:
##########
@@ -116,7 +116,7 @@ def clean_unused(cls, session=None):
         session.query(Trigger).filter(Trigger.id.in_(ids)).delete(synchronize_session=False)
 
     @classmethod
-    @provide_session

Review Comment:
   https://github.com/apache/airflow/blob/4797a0322ed4b73bc34d3967376479a42d9ba190/airflow/utils/retries.py#L49-L53



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