diff --git a/src/Services/QueuedJobService.php b/src/Services/QueuedJobService.php index 910d2f28..c7490055 100644 --- a/src/Services/QueuedJobService.php +++ b/src/Services/QueuedJobService.php @@ -1316,6 +1316,9 @@ public function runQueue($queue) */ public function processJobQueue($name) { + if (!DB::is_active()) { + return; + } // Start timer to measure lifetime $this->markStarted();