agendash
agendash copied to clipboard
Jobs don't execute in order
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
Actually this needs to stay open since this won't land until v1.0.0
.