Skip to content

maxRetries is not applied for tasks in the store #70

@ivansstoyanov

Description

@ivansstoyanov

steps to reproduce
0. set sql store

  1. set maxRetries to 100
  2. set priority
return cb(null, input.priorityNumber)
}```
3. add task two task with priorityNumber 1,2
4. all tasks should fail (so we could test the maxRetries)

Actual
If you execute this everything works as expected.
But If you kill the queue around 53 request for the first task. And start the queue again the first task is executed again 100 times, the second task **is executed 1 time**

Expected 
2nd task should be executed 100 times
it would be nice if the first task is executed 47times

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions