mirror of
https://github.com/archtechx/jobpipeline.git
synced 2025-12-13 04:24:03 +00:00
reuse shouldBeQueuedOn
This commit is contained in:
parent
7e618f6950
commit
29fb12fd4b
1 changed files with 1 additions and 2 deletions
|
|
@ -63,8 +63,7 @@ class JobPipeline implements ShouldQueue
|
|||
{
|
||||
if (is_string($shouldBeQueued))
|
||||
{
|
||||
$this->onQueue($shouldBeQueued);
|
||||
$this->shouldBeQueued = true;
|
||||
$this->shouldBeQueuedOn($shouldBeQueued);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue