Update horizon.php and docker-compose.prod.yml

This commit is contained in:
Andras Bacsai 2024-04-13 15:16:57 +02:00
parent a18b4ffd0f
commit 24bd4da94b
2 changed files with 2 additions and 3 deletions

View File

@ -183,9 +183,7 @@
's6' => [
'connection' => 'redis',
'queue' => ['default'],
'balance' => 'auto',
// 'autoScalingStrategy' => 'time',
// 'maxProcesses' => 1,
'balance' => env('HORIZON_BALANCE', 'auto'),
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 128,

View File

@ -29,6 +29,7 @@ services:
- QUEUE_CONNECTION
- REDIS_HOST
- REDIS_PASSWORD
- HORIZON_BALANCE
- HORIZON_MAX_PROCESSES
- HORIZON_BALANCE_MAX_SHIFT
- HORIZON_BALANCE_COOLDOWN