now setting the queue name onto the job instance

This commit is contained in:
Chaitanya Kuber 2012-03-22 12:20:16 +08:00 committed by Chris Boulton
parent 016f046a6a
commit 76c06a1349

1
lib/Resque/Job.php Normal file → Executable file
View File

@ -159,6 +159,7 @@ class Resque_Job
$this->instance = new $this->payload['class']();
$this->instance->job = $this;
$this->instance->args = $this->getArguments();
$this->instance->queue = $this->queue;
return $this->instance;
}