better-queue-sql
v1.0.6
Published
A SQL store for better-queue
Downloads
2,207
Readme
Better Queue - SQL Store
A SQL store for better-queue.
Getting started
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 })
Examples
Please have a look at the better-queue documentation on how to set up and use stores.
Contributions
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!