mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-23 15:29:50 +00:00
Update horizon config
This commit is contained in:
parent
cb2392f351
commit
270578bb39
1 changed files with 9 additions and 7 deletions
|
@ -152,7 +152,7 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'memory_limit' => 64,
|
'memory_limit' => env('HORIZON_MEMORY_LIMIT', 64),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -170,12 +170,13 @@ return [
|
||||||
'supervisor-1' => [
|
'supervisor-1' => [
|
||||||
'connection' => 'redis',
|
'connection' => 'redis',
|
||||||
'queue' => ['high', 'default', 'feed', 'low', 'story', 'delete', 'mmo'],
|
'queue' => ['high', 'default', 'feed', 'low', 'story', 'delete', 'mmo'],
|
||||||
'balance' => 'auto',
|
'balance' => env('HORIZON_BALANCE_STRATEGY', 'auto'),
|
||||||
'maxProcesses' => 20,
|
'minProcesses' => env('HORIZON_MIN_PROCESSES', 1),
|
||||||
'memory' => 128,
|
'maxProcesses' => env('HORIZON_MAX_PROCESSES', 20),
|
||||||
'tries' => 3,
|
'memory' => env('HORIZON_SUPERVISOR_MEMORY', 128),
|
||||||
'nice' => 0,
|
'tries' => env('HORIZON_SUPERVISOR_TRIES', 3),
|
||||||
'timeout' => 300
|
'nice' => env('HORIZON_SUPERVISOR_NICE', 0),
|
||||||
|
'timeout' => env('HORIZON_SUPERVISOR_TIMEOUT', 300),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
@ -184,6 +185,7 @@ return [
|
||||||
'connection' => 'redis',
|
'connection' => 'redis',
|
||||||
'queue' => ['high', 'default', 'feed', 'low', 'story', 'delete', 'mmo'],
|
'queue' => ['high', 'default', 'feed', 'low', 'story', 'delete', 'mmo'],
|
||||||
'balance' => 'auto',
|
'balance' => 'auto',
|
||||||
|
'minProcesses' => 1,
|
||||||
'maxProcesses' => 20,
|
'maxProcesses' => 20,
|
||||||
'memory' => 128,
|
'memory' => 128,
|
||||||
'tries' => 3,
|
'tries' => 3,
|
||||||
|
|
Loading…
Reference in a new issue