codechrl commented on PR #73766: URL: https://github.com/apache/airflow/pull/73766#issuecomment-7061126193
@sameerpandey17 thanks for checking. 1. The 600 was already in the how-to; I only swapped the dead `task_instance_heartbeat_sec` for `workers.min_heartbeat_interval`. In `supervisor.py` it is the heartbeat cadence (L1925) and an upper bound on the select wait (L1875-1882), capped here by `task_instance_heartbeat_timeout=2`. It also stretches how long a worker tolerates an unreachable API server (`max_failed_heartbeats` x interval), which doesn't matter for the sleep task. I haven't run the how-to end to end (needs a full deployment); this is from reading the code. 2. Fair point, there was none. Added `test_update_config_fix_removes_task_heartbeat_options` for both names. 3. Yes, #74515 deletes this whole section, including my line. Happy to drop my `tasks.rst` change and leave the how-to to that PR. Which do you prefer? -- 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]
