agendash icon indicating copy to clipboard operation
agendash copied to clipboard

Jobs don't execute in order

Open joeframbach opened this issue 8 years ago • 1 comments

Steps to reproduce:

[1,2,3,4,5,6,7,8,9].forEach(function (n) {
  agenda.create('doSomethingWithNumber', {
    n: n
  })
  .save()
})

The UI now shows 9 jobs "queued" since they are ready to run but haven't started yet.

The jobs will execute in a seemingly nondeterministic order.

Need to experiment to see if this is something I'm doing wrong or something Agenda is doing

joeframbach avatar Mar 15 '16 18:03 joeframbach

Actually this needs to stay open since this won't land until v1.0.0.

OmgImAlexis avatar Aug 09 '17 04:08 OmgImAlexis