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

Lost jobs when concurrency in worker group and delay exponential in queue opts #16

Open
gabrielrtomio opened this issue May 27, 2022 · 1 comment

Comments

@gabrielrtomio
Copy link

gabrielrtomio commented May 27, 2022

new WorkerPro(name, anyProcessor, {
  connection,
  concurrency: 10,
  group: { concurrency: 5 }
})

Queue Options

{
   "backoff":{
      "delay":10000,
      "type":"exponential"
   },
   "group":{
      "id":"659e8415-3cdf-4ff3-9991-3e91ce9de583"
   },
   "removeOnComplete":true,
   "delay":5000,
   "attempts":5
}

After sometime the jobs go to delayed and fades away.

@manast
Copy link
Contributor

manast commented May 28, 2022

Thanks for reporting this issue. We would need a bit more information about it so that we can start investigating it.

  1. Does this issue happen when a job has failed?
  2. Does it happen all the time?
  3. What does exactly mean "fade away"? Is the the job not in the queue anymore? could it be that the job has been completed? (since you have removeOnComplete: true, it may be helpful to keep a fixed amount of completed jobs for debugging purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants