updates
This commit is contained in:
@@ -30,7 +30,8 @@ class Kernel extends ConsoleKernel
|
||||
protected function schedule(Schedule $schedule)
|
||||
{
|
||||
if (env('DB_INSTALL') == 1) {
|
||||
if ($this->getCurrentQueue() != "sync") {
|
||||
|
||||
if ($this->getCurrentQueue() != 'sync') {
|
||||
$schedule->command('queue:listen '.$this->getCurrentQueue().' --sleep 60')->everyMinute();
|
||||
}
|
||||
$this->execute($schedule, 'fetching');
|
||||
|
Reference in New Issue
Block a user