bullmq icon indicating copy to clipboard operation
bullmq copied to clipboard

[Bug]: Expired Repeatable jobs still showing

Open debianw opened this issue 1 year ago • 0 comments

Version

v5.3.1

Platform

NodeJS

What happened?

BullMQ is accumulating expired Repeatable jobs

How to reproduce.

  1. Add a job that repeats every 5 seconds for example and pass an endDate.
{
  repeat: {
    pattern: '*/5 * * * * *',
    tz: 'America/Costa_Rica',
    endDate: '2024-02-22T14:48:00.000Z'
  }
}

queue.getRepeatableJobs() is still returning expired repeatable jobs, Is there a way to auto remove expired repeatable jobs ?

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

debianw avatar Feb 22 '24 14:02 debianw