mirror of
https://github.com/archtechx/jobpipeline.git
synced 2025-12-12 21:34:05 +00:00
use dispatch_sync instead of dispatch_now
This commit is contained in:
parent
02327a8cd8
commit
94b98bd26b
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ class JobPipeline implements ShouldQueue
|
||||||
if ($this->shouldBeQueued) {
|
if ($this->shouldBeQueued) {
|
||||||
dispatch($executable);
|
dispatch($executable);
|
||||||
} else {
|
} else {
|
||||||
dispatch_now($executable);
|
dispatch_sync($executable);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue