diff --git a/config/horizon.php b/config/horizon.php index 1d4e44d..159f021 100644 --- a/config/horizon.php +++ b/config/horizon.php @@ -185,38 +185,38 @@ */ 'defaults' => [ - // 'supervisor-1' => [ - // 'connection' => 'redis', - // 'queue' => ['default'], - // 'balance' => 'auto', - // 'autoScalingStrategy' => 'time', - // 'maxProcesses' => 1, - // 'maxTime' => 0, - // 'maxJobs' => 0, - // 'memory' => 128, - // 'tries' => 1, - // 'timeout' => 60, - // 'nice' => 0, - // ], + 'supervisor-1' => [ + 'connection' => 'redis', + 'queue' => ['default'], + 'balance' => 'auto', + 'autoScalingStrategy' => 'time', + 'maxProcesses' => 1, + 'maxTime' => 0, + 'maxJobs' => 0, + 'memory' => 128, + 'tries' => 1, + 'timeout' => 60, + 'nice' => 0, + ], ], 'environments' => [ 'production' => [ - // 'supervisor-1' => [ - // 'maxProcesses' => 1, - // 'balanceMaxShift' => 1, - // 'balanceCooldown' => 3, - // 'connection' => 'redis', - // 'queue' => ['default'], - // 'balance' => 'auto', - // 'autoScalingStrategy' => 'size', - // 'maxTime' => 3600, - // 'maxJobs' => 1000, - // 'memory' => 128, - // 'tries' => 0, - // 'timeout' => 240, - // 'nice' => 0, - // ], + 'supervisor-1' => [ + 'maxProcesses' => 1, + 'balanceMaxShift' => 1, + 'balanceCooldown' => 3, + 'connection' => 'redis', + 'queue' => ['default'], + 'balance' => 'auto', + 'autoScalingStrategy' => 'size', + 'maxTime' => 3600, + 'maxJobs' => 1000, + 'memory' => 128, + 'tries' => 3, + 'timeout' => 240, + 'nice' => 0, + ], ], 'local' => [