Skip to content

Commit

Permalink
Some docs for Job#retry
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Jan 24, 2011
1 parent 2af7f92 commit d6699c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -138,7 +138,6 @@ exports.Worker = Worker;
Worker.prototype._recycle = function () {
if (this.client) {
this.client.destroy();
console.log(this.client.connected);
}

var keys = Object.keys(this.queues);
Expand Down Expand Up @@ -217,6 +216,7 @@ Job.prototype.reportError = function (error) {

/**
* Re-process the job by adding back to the queue.
* @param {Function} callback The optional callback
*/
Job.prototype.retry = function (callback) {
var self = this;
Expand Down

0 comments on commit d6699c2

Please sign in to comment.