Releases: actionhero/node-resque
v3.0.0
- Require that queue methods be async and require a callback
- Add actionhero's eslintrc, and make the code pretty
- Use the
async
library to dry up this project, enhance readability - Block more than one task with the exact same args from being enqueuedAt (in) for at the same timestamp (to prevent non-deterministic behavior with locking plugins) (#145)
v2.1.2
(bug) worker domain errors should trigger after_perform
v2.1.1
(bug) worker.performInline needs result and error passed to worker for plugins
v2.1.0 worker#performInline
worker#performInline
DO NOT USE THIS IN PRODUCTION. In tests or special cases, you may want to process/work a job in-line. To do so, you can use worker.performInline(jobName, arguments, callback)
. If you are planning on running a job via #performInline, this worker should also not be started, nor should be using event emitters to monitor this worker. This method will also not write to redis at all, including logging errors, modify resque's stats, etc.
queue.locks and queue.delLock
Adds queue.locks()
and queue.delLock()
to help manage your resque locks.
v2.0.8
Fixes a memory leak in queue.stats
2.0.7: queue.stats
queue.stats()
will let you inspect the resque stats of your cluster (failed, processed, etc)
v2.0.6 EventEmitter Warning
Prevents (node) warning: possible EventEmitter memory leak detected. 2 error listeners added. Use emitter.setMaxListeners() to increase limit
warning when using multiWorker.
We now increase the number of listeners on the redis connection rather than set it explicitly.
Worker internals to expose result
v2.0.4: Bugfix
Fix delayed job removal
- Prepend queue namespace to delayed job key found in timestamps before attempting to remove from delayed queue list, and added check that the removal was successful.
- Created new test, and fixed another which was returning done() multiple times because of the changes to delDelayed.