Skip to content

Conversation

@joaovictornsv
Copy link
Member

2.2.2 (2025-12-12)

  • Add native stuck jobs detection and cleanup functionality:
    • New stuckJobsThreshold option: Time in milliseconds to consider a job as stuck (default: 15 minutes).
    • New onStuckJobFound callback option: Called for each stuck job found with { job, runningTimeMs }.
    • New checkStuckJobsSchedule option: Schedule function (using Later.js parser) to automatically check for stuck jobs.
    • New SyncedCron.checkStuckJobs(options) method to manually check and remove stuck jobs.
    • Automatic stuck jobs check is distributed-safe (only one server instance runs the check at a time).
    • Add tests for the new functionality.

- add check for stuck jobs
@joaovictornsv joaovictornsv self-assigned this Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants