surendarvarmas opened a new issue, #68990:
URL: https://github.com/apache/airflow/issues/68990

   ### Description
   
   Type: Bug / Feature Request
   
   Apache Airflow version: 2.10.3
   
   What happened:
   
   When using ExternalTaskSensor with deferrable=True, the poke_interval 
parameter is ignored. The trigger polls every ~2 seconds regardless of the 
configured poke_interval, and logs "Sleeping for 2.0 seconds" on every cycle.
   
   For a sensor with a 6-hour timeout, this generates ~10,800 log lines per 
task instance.
   
   
   ### Use case/motivation
   
   The trigger should respect the poke_interval parameter (or provide a 
separate trigger_poll_interval parameter) to control how often it checks the 
external DAG state, similar to how the non-deferred reschedule mode respects 
poke_interval.
   
   Additional context:
   
   This makes deferrable=True impractical for ExternalTaskSensor compared to 
mode="reschedule", which properly respects poke_interval and produces cleaner, 
more useful logs (including the external DAG name being waited on).
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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