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:15:08 UTC

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

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


##########
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:
   I think the session arg should no longer be equal to None



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