mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 08:15:14 +00:00
now setting the queue name onto the job instance
This commit is contained in:
parent
016f046a6a
commit
76c06a1349
1
lib/Resque/Job.php
Normal file → Executable file
1
lib/Resque/Job.php
Normal file → Executable file
@ -159,6 +159,7 @@ class Resque_Job
|
|||||||
$this->instance = new $this->payload['class']();
|
$this->instance = new $this->payload['class']();
|
||||||
$this->instance->job = $this;
|
$this->instance->job = $this;
|
||||||
$this->instance->args = $this->getArguments();
|
$this->instance->args = $this->getArguments();
|
||||||
|
$this->instance->queue = $this->queue;
|
||||||
return $this->instance;
|
return $this->instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user