You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "hussein-awala (via GitHub)" <gi...@apache.org> on 2023/08/16 22:25:13 UTC

[GitHub] [airflow] hussein-awala commented on issue #32638: Find a solution to handle the execution timeout in Triggers

hussein-awala commented on issue #32638:
URL: https://github.com/apache/airflow/issues/32638#issuecomment-1681345840

   >  the Sync sensor times out as it should after 60 seconds. The Async sensor retries 3 times and ends up waiting a total of (60 seconds * 4 attempts) + (retry wait interval) * 3. That is not expected.
   
   This is the main issue I'm trying to fix in my PR which is almost ready. However I'm trying to find a solution for providers which are running with an older version of Airflow.
   
   The issue is that currently we raise `TaskDeferralError` when the trigger is timeout, and this exception is not processed by Airflow as a timeout exception. There is another issue; we need to define explicitly the trigger timeout, where Airflow could calculating it from the task start_date as it does for sync sensors.


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