From 1f6bb683a9ef9cd89723ddec90593e5e31e98048 Mon Sep 17 00:00:00 2001 From: Oliver Kaufmann Date: Tue, 8 Nov 2022 13:26:40 +0100 Subject: [PATCH] default queue can be processed by another horizon worker --- src/Commands/LaravelHorizonDoctorCommand.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Commands/LaravelHorizonDoctorCommand.php b/src/Commands/LaravelHorizonDoctorCommand.php index 7dea6bd..e002b8c 100644 --- a/src/Commands/LaravelHorizonDoctorCommand.php +++ b/src/Commands/LaravelHorizonDoctorCommand.php @@ -47,11 +47,6 @@ protected function checkHorizonConfigs(array $horizonConfigs, array $queueConfig $queueConnection = $queueConfigs[$horizonConfig['connection']]; - // check that queue of the connection is set in horizon - if (! in_array($queueConnection['queue'], $horizonConfig['queue'], true)) { - $errors[] = "Queue `{$queueConnection['queue']}` should be added to the `{$key}['queue']` array in config/horizon.php"; - } - // check that horizon queue has a timout option if (! isset($horizonConfig['timeout'])) { $errors[] = "You should consider setting the `timeout` option for `{$key}` in config/horizon.php";