Permalink
Browse files

Revert "Fix delay() not really delaying"

This reverts commit f52bcdd.
  • Loading branch information...
1 parent 9af10b9 commit 73ac9ef1e0738615479668ecb798b4bdcd626359 @tj tj committed Nov 8, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/queue/job.js
View
@@ -349,7 +349,8 @@ Job.prototype.progress = function(complete, total){
Job.prototype.delay = function(ms){
if (0 == arguments.length) return this._delay;
this._delay = ms;
- return this.state('delayed');
+ this._state = 'delayed';
+ return this;
};
/**

0 comments on commit 73ac9ef

Please sign in to comment.