lykmapipo / kue-scheduler

A job scheduler utility for kue, backed by redis and built for node.js
246 stars 47 forks source link

Update Kue to 0.10.5 #31

Closed elyas-bhy closed 8 years ago

elyas-bhy commented 8 years ago

I would like to highlight two important points in this PR:

var job = Queue
            .createJob('every', data)
            .attempts(3)
            .backoff(backoff)
            .priority('normal');

//schedule it to run every 2 seconds
Queue.every('2 seconds', job);

// At this level, there are several undefined attributes on the job instance,
// such as job.id and job.zid.
// These attributes are used by the underlying Kue module when issuing zrem commands,
// leading to a malformed command
Queue.remove(job, function () {});

This is the reason why I rewrote the specs to remove the job by its unique key. We should probably open a separate issue for this.

elyas-bhy commented 8 years ago

@lykmapipo could we get a release for this?

lykmapipo commented 8 years ago

@elyas-bhy

Soon it will be out. Thanks for reminder