mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 03:21:23 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user