#10378 feat: Add configuration for job heartbeat frequency
Pull request opened by
stevenlw-porpoise
Description
Adds a new setting job_heartbeat_interval which configures the frequency the heartbeats are made in the system database. Lowering this frequency can reduce load on the database.
Corresponding documentation and tests are included.
Checklist
• I have read the
contribution guide
Was generative AI tooling used to co-author this PR?
• Yes (please specify the tool below)
Generated-by: Codex with GPT-6.1-Sol following
the agentic coding guidelines
Related Issues
• Addresses
#10373
Summary by Sourcery
Configure the frequency of job heartbeats written to the system database.
Enhancements:
• Add a configurable job heartbeat interval to reduce system database writes for long-running jobs while enforcing the stale-job safety limit.
Documentation:
• Document the new heartbeat interval setting, supported configuration methods, defaults, and valid range.
Tests:
• Add coverage for configured heartbeat intervals and validation of invalid values across job execution paths.
meltano/meltano