Skip to content
Jérôme Desboeufs edited this page Aug 3, 2015 · 3 revisions

Upgrade Checklist

  1. Change your process callbacks moving done to last argument (if you are using a 3 arguments version)

    queue.process( 'type', function( job, done, ctx ){});

    is now

    queue.process( 'type', function( job, ctx, done ){});
  2. The same has happened to queue.shutdown, so

    queue.shutdown( function( err ){}, 5000 );

    should be changed to

    queue.shutdown( 5000, function( err ){} );
  3. Search indexing is now turned off by default, so if you were using this feature in 0.8.x you should now add disableSearch: false to your kue configuration.

  4. Remove all queue.promote() calls within your code. Kue will now take care of them himself ;)

  5. Built-in web app is upgraded to express 4.0

Clone this wiki locally