# Horizon Provisioning Plan Analyzer PRO
Category | Severity | Time To Fix |
---|---|---|
✅ Reliability | ⚠️ Critical | 10 minutes |
Class: Enlightn\EnlightnPro\Analyzers\Reliability\HorizonProvisioningPlanAnalyzer
# Introduction
This analyzer confirms that you have a Horizon provisioning plan configured for your application's current environment.
If this is not configured, Horizon will not run in your current environment.
# How To Fix
To fix this issue, you may add your current environment as a key to the environments
configuration option in your config/horizon.php
file:
'environments' => [
'production' => [
'supervisor-1' => [
'maxProcesses' => 10,
'balanceMaxShift' => 1,
'balanceCooldown' => 3,
],
],
'local' => [
'supervisor-1' => [
'maxProcesses' => 3,
],
],
],
# Skip Condition
This analyzer is skipped if your application does not use Horizon.