bullmq
bullmq copied to clipboard
[Bug]: Expired Repeatable jobs still showing
Version
v5.3.1
Platform
NodeJS
What happened?
BullMQ is accumulating expired Repeatable jobs
How to reproduce.
- 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