Skip to content

Commit

Permalink
default queue can be processed by another horizon worker
Browse files Browse the repository at this point in the history
  • Loading branch information
okaufmann committed Nov 8, 2022
1 parent a8d9b27 commit 1f6bb68
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Commands/LaravelHorizonDoctorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 1f6bb68

Please sign in to comment.