fix(cron): add retry policy for one-shot jobs on transient errors (#24355) (openclaw#24435) thanks @hugenshen

Verified:
- pnpm install --frozen-lockfile
- pnpm check
- pnpm test -- --run src/cron/service.issue-regressions.test.ts src/config/config-misc.test.ts

Co-authored-by: hugenshen <16300669+hugenshen@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
NIO
2026-03-01 20:58:03 +08:00
committed by GitHub
parent 62a7683ce6
commit ea3955cd78
10 changed files with 406 additions and 23 deletions

View File

@@ -108,6 +108,10 @@ const TARGET_KEYS = [
"cron.enabled",
"cron.store",
"cron.maxConcurrentRuns",
"cron.retry",
"cron.retry.maxAttempts",
"cron.retry.backoffMs",
"cron.retry.retryOn",
"cron.webhook",
"cron.webhookToken",
"cron.sessionRetention",