1
0
Fork 0
mirror of https://github.com/archtechx/jobpipeline.git synced 2025-12-12 15:34:04 +00:00

use dispatch_sync instead of dispatch_now

This commit is contained in:
Saade 2023-02-15 17:02:58 -03:00
parent 02327a8cd8
commit 94b98bd26b

View file

@ -93,7 +93,7 @@ class JobPipeline implements ShouldQueue
if ($this->shouldBeQueued) {
dispatch($executable);
} else {
dispatch_now($executable);
dispatch_sync($executable);
}
};
}