From d47a0e1392052aa219c66d80c064d92a7e443f0c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 18 Apr 2021 07:06:12 +1000 Subject: [PATCH] Small fixes --- app/Console/Kernel.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 2cf0371b23e4..ff73d173352f 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -68,6 +68,11 @@ class Kernel extends ConsoleKernel } + if(config('queue.default') && Ninja::isSelfHost()) { + $schedule->command('queue:work')->everyMinute()->withoutOverlapping(); + $schedule->command('queue:restart')->everyFiveMinutes()->withoutOverlapping(); + } + } /**