Merge pull request #3399 from pixelfed/staging

Update horizon config
This commit is contained in:
daniel 2022-04-26 22:28:41 -06:00 committed by GitHub
commit 86afc5affe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ return [
|
*/
'memory_limit' => 64,
'memory_limit' => env('HORIZON_MEMORY_LIMIT', 64),
/*
|--------------------------------------------------------------------------
@ -170,12 +170,13 @@ return [
'supervisor-1' => [
'connection' => 'redis',
'queue' => ['high', 'default', 'feed', 'low', 'story', 'delete', 'mmo'],
'balance' => 'auto',
'maxProcesses' => 20,
'memory' => 128,
'tries' => 3,
'nice' => 0,
'timeout' => 300
'balance' => env('HORIZON_BALANCE_STRATEGY', 'auto'),
'minProcesses' => env('HORIZON_MIN_PROCESSES', 1),
'maxProcesses' => env('HORIZON_MAX_PROCESSES', 20),
'memory' => env('HORIZON_SUPERVISOR_MEMORY', 64),
'tries' => env('HORIZON_SUPERVISOR_TRIES', 3),
'nice' => env('HORIZON_SUPERVISOR_NICE', 0),
'timeout' => env('HORIZON_SUPERVISOR_TIMEOUT', 300),
],
],
@ -184,6 +185,7 @@ return [
'connection' => 'redis',
'queue' => ['high', 'default', 'feed', 'low', 'story', 'delete', 'mmo'],
'balance' => 'auto',
'minProcesses' => 1,
'maxProcesses' => 20,
'memory' => 128,
'tries' => 3,