Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Expired Repeatable jobs still showing #2444

Open
1 task done
debianw opened this issue Feb 22, 2024 · 0 comments
Open
1 task done

[Bug]: Expired Repeatable jobs still showing #2444

debianw opened this issue Feb 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@debianw
Copy link

debianw commented Feb 22, 2024

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

  • I agree to follow this project's Code of Conduct
@debianw debianw added the bug Something isn't working label Feb 22, 2024
@roggervalf roggervalf added enhancement New feature or request and removed bug Something isn't working labels Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants