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

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   2.6.3
   
   ### What happened?
   
   Scheduler uses [scheduler]job_heartbeat_sec property for heartbeats instead 
of [scheduler]scheduler_heartbeat_sec.
   In Airflow 2.5.3 [scheduler]scheduler_heartbeat_sec is used correctly.
   
   The bug was introduced after refactoring of scheduler_job -> 
scheduler_job_runner. 
   This field is never used in the code:
   
https://github.com/apache/airflow/blob/1f5960a9844ad9bcea61940a76052e0af549579f/airflow/jobs/scheduler_job_runner.py#L153
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   - run Airflow
   - set [scheduler]job_heartbeat_sec with the value greater than 
[scheduler]scheduler_health_check_threshold
   - see warning message in Airflow UI that scheduler is not alive
   
   ### Operating System
   
   Ubuntu
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Google Cloud Composer
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit 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: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to