Skip to content

Commit

Permalink
fixes #328
Browse files Browse the repository at this point in the history
  • Loading branch information
behrad committed May 24, 2014
1 parent 0b72299 commit 628f953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/queue/worker.js
Expand Up @@ -72,6 +72,7 @@ Worker.prototype.start = function (fn) {
if (!job || err) return process.nextTick(function () {
self.start(fn);
});
self.job = job;
self.process(job, fn);
});
return this;
Expand Down Expand Up @@ -150,7 +151,6 @@ Worker.prototype.failed = function (job, err, fn) {
Worker.prototype.process = function (job, fn) {
var self = this
, start = new Date();
this.job = job;
job.active( function(){
// this.domain.run(function(){
// process.nextTick( function(){
Expand Down

0 comments on commit 628f953

Please sign in to comment.