A SQL store for better-queue.
Install this store with npm:
npm install --save better-queue-sql
Configure your queue to use the sql store:
var q = new Queue(fn, {
store: {
type: 'sql',
... more options here
}
})
... or instantiate it and pass it to the store directly:
var SQLStore = require('better-queue-sql');
var store = new SQLStore(opts);
var q = new Queue(fn, { store: store })
Please have a look at the better-queue documentation on how to set up and use stores.
Are welcome!
This library was initially made by the awesome team of engineers at Diamond.
If you haven't already, make sure you install Diamond!