Cron: apply timeout to startup catch-up runs (#23966)

* Cron: apply timeout to startup catch-up runs

* Changelog: add cron startup timeout catch-up note
This commit is contained in:
Tak Hoffman
2026-02-22 17:04:30 -06:00
committed by GitHub
parent 26644c4b89
commit 73e5bb7635
3 changed files with 42 additions and 2 deletions

View File

@@ -547,7 +547,7 @@ export async function runMissedJobs(
const startedAt = state.deps.nowMs();
emit(state, { jobId: candidate.job.id, action: "started", runAtMs: startedAt });
try {
const result = await executeJobCore(state, candidate.job);
const result = await executeJobCoreWithTimeout(state, candidate.job);
outcomes.push({
jobId: candidate.jobId,
status: result.status,