ephraimbuddy commented on code in PR #28481: URL: https://github.com/apache/airflow/pull/28481#discussion_r1058266047
########## airflow/models/dagwarning.py: ########## @@ -72,6 +73,11 @@ def purge_inactive_dag_warnings(cls, session: Session = NEW_SESSION) -> None: :return: None """ + cls._purge_inactive_dag_warnings_with_retry(session) + + @classmethod + @retry_db_transaction + def _purge_inactive_dag_warnings_with_retry(cls, session: Session) -> None: Review Comment: LGTM, let's add a little test -- 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