From ed0cf0c89ddb0a83d8e27fb129b1fe3ce6d1d408 Mon Sep 17 00:00:00 2001 From: Oliver Kaufmann <4414498+okaufmann@users.noreply.github.com> Date: Thu, 26 Jan 2023 21:11:39 +0100 Subject: [PATCH] fix used value for retry after --- src/Commands/LaravelHorizonDoctorCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/LaravelHorizonDoctorCommand.php b/src/Commands/LaravelHorizonDoctorCommand.php index b61afb5..042a9cb 100644 --- a/src/Commands/LaravelHorizonDoctorCommand.php +++ b/src/Commands/LaravelHorizonDoctorCommand.php @@ -50,7 +50,7 @@ protected function checkHorizonConfigs(array $horizonConfigs, array $queueConfig // check that timeout is lower than retry_after $queueConnection = $queueConfigs[$horizonConfig['connection']] ?? null; if ($queueConnection && isset($horizonConfig['timeout']) && $horizonConfig['timeout'] >= $queueConnection['retry_after']) { - $errors[] = "`timeout` of configured Horizon queue `{$key}` ({$horizonConfig['timeout']}) in config/horizon.php should be marginally bigger than the `retry_after` option of the queue connection `{$key}` ({$horizonConfig['timeout']}) set in config/queue.php"; + $errors[] = "`timeout` of configured Horizon queue `{$key}` ({$horizonConfig['timeout']}) in config/horizon.php should be marginally bigger than the `retry_after` option of the queue connection `{$key}` ({$queueConnection['retry_after']}) set in config/queue.php"; } if ($errors->count()) {