Skip to content

Commit 76c06a1

Browse files
Chaitanya KuberChris Boulton
Chaitanya Kuber
authored and
Chris Boulton
committed
now setting the queue name onto the job instance
1 parent 016f046 commit 76c06a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Resque/Job.php

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ public function getInstance()
159159
$this->instance = new $this->payload['class']();
160160
$this->instance->job = $this;
161161
$this->instance->args = $this->getArguments();
162+
$this->instance->queue = $this->queue;
162163
return $this->instance;
163164
}
164165

0 commit comments

Comments
 (0)