mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
now setting the queue name onto the job instance
This commit is contained in:
parent
016f046a6a
commit
76c06a1349
1 changed files with 1 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue