Changelog
3.0.1
Minor bug fix when running test suite, purgeQueues would fail to work correctly.
Changelog
3.0.0
Ironium 3.x works with IronMQ v3 and can still run in development mode against Beanstalkd (no authentication).
Ironium 3.x requires Node 4.x or later.
Methods like queueJob, runOnce, etc that previously took a callback no longer accept a callback. Everything returns a promise.
Configuration has changed, so check the README again. You can now use
iron.json
as the configuration object, e.g:
const config = require('iron.json'); ironium.configure(config);
Debug messages have been split. Use DEBUG=ironium to see processing instructions, and DEBUG=ironium:* to see everything else reported.
To listen to processing errors, use ironium.onerror(callback).
To get the webhook URL of a queue, use ironium.webhookURL(queueName). This method returns a promise that resolves to the webhook URL.
The width argument to eachJob is gone (for now).