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]: Repeatable job is not fired off immediately after it's removed and added back #2405

Open
1 task done
raymondfeng opened this issue Jan 30, 2024 · 1 comment
Open
1 task done
Labels
bug Something isn't working

Comments

@raymondfeng
Copy link

Version

v4.14.0

Platform

NodeJS

What happened?

Hi, I noticed a strange behavior. We have a repeatable job. If we remove it or drain the queue for delayed jobs and add it back with immediately=true , the workers are not fired off.

How to reproduce.

  1. Create a queue and add a repeatable job with immediately=true option
  2. Create worker for the queue to handle the repeatable job
  3. Remove the job or drain the queue
  4. Add the repeatable job back to the queue with immediately=true option

The worker is not fired off immediately.

Relevant log output

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct
@raymondfeng raymondfeng added the bug Something isn't working label Jan 30, 2024
@raymondfeng raymondfeng changed the title [Bug]: [Bug]: Repeatable job is not fired off immediately after it's removed and added back Jan 30, 2024
@manast
Copy link
Contributor

manast commented Jan 30, 2024

Could you please produce the actual source code that reproduces the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants