vsivsi / meteor-job-collection

A persistent and reactive job queue for Meteor, supporting distributed workers that can run anywhere.
https://atmospherejs.com/vsivsi/job-collection
Other
385 stars 68 forks source link

Make sure jobs are scheduled after doc.after #218

Closed mitar closed 7 years ago

mitar commented 7 years ago

Fixes: #217.

Even tests were showing this issue. Previously, job ran at 1000 ms and 2000 ms, so twice. But the first time was 1000 ms, this is wrong according to documentation. According to documentation job should be scheduled at first valid time after 1000 ms. That is 2000 ms.

vsivsi commented 7 years ago

This looks good. Thanks!