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

Queue blocked with Backoff strategy #832

Closed
jdG- opened this issue Apr 19, 2021 · 0 comments
Closed

Queue blocked with Backoff strategy #832

jdG- opened this issue Apr 19, 2021 · 0 comments
Assignees
Labels
type: bug 🐛 Something isn't working
Milestone

Comments

@jdG-
Copy link
Contributor

jdG- commented Apr 19, 2021

Describe the bug
I have a queue with a backoff strategy. If I add a new job to the queue and the previous one is still retrying, the newly added one is stuck and will be started once the first finished.

To Reproduce
13:00 create queue with backoff strategy (retry every 30minutes)
13:01 add new job #1 in the queue (retries: 1)
13:01 job #1 fails
13:10 add new job #2 in the queue (retries: 1)
13:31 job #1 succeeded
13:31 job #2 succeeded

Expected behavior
13:00 create queue with backoff strategy (retry every 30minutes)
13:01 add new job #1 in the queue (retries: 1)
13:01 job #1 fails
13:10 add new job #2 in the queue (retries: 1)
13:10 job #2 succeeded
13:31 job #1 succeeded

Environment (please complete the following information):

  • @vendure/core version: 1.0.0-beta.8
  • Nodejs version: 12.20
  • Database (mysql/postgres etc): postgres
@jdG- jdG- added the type: bug 🐛 Something isn't working label Apr 19, 2021
@michaelbromley michaelbromley added this to the v1.0.0 milestone Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants