bskim45 commented on issue #21072:
URL: https://github.com/apache/airflow/issues/21072#issuecomment-1070181632


   I'm experiencing a similar issue somewhat related to this. When the `sla` 
argument is provided but an SLA miss email is not sent nor `sla_miss_callback` 
is not specified, SlaMiss entries are piled up on the `sla_miss` table with 
`notification_sent=false`. This causes calling `DAGFileProcessor.manage_slas` 
times out for that callback processing.
   
   quick example:
   ```python
   with DAG(
       dag_id="example_dag",
       schedule_interval='@hourly',
       start_date=days_ago(1),
       catchup=False,
   ) as dag:
       dummy_task = DummyOperator(
           task_id='dummy_task',
           sla=datetime.timedelta(hours=18),
       )
   ```


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