'defaults' => [
'supervisor-1' => [
'connection' => 'redis',
'queue' => ['high'],
'balance' => 'auto',
'minProcesses' => 1,
'maxProcesses' => 1,
'memory' => 128,
'tries' => 3,
'nice' => 0,
],
'supervisor-2' => [
'connection' => 'redis',
'queue' => ['default'],
'balance' => 'auto',
'minProcesses' => 1,
'maxProcesses' => 1,
'memory' => 128,
'tries' => 3,
'nice' => 10,
],
'supervisor-3' => [
'connection' => 'redis',
'queue' => ['low'],
'balance' => 'auto',
'minProcesses' => 1,
'maxProcesses' => 1,
'memory' => 128,
'tries' => 3,
'nice' => 20,
],
],
'defaults' => [
'supervisor-1' => [
'connection' => 'redis',
'queue' => ['high', 'default', 'low'],
'balance' => 'auto',
'minProcesses' => 1,
'maxProcesses' => 3,
'memory' => 128,
'tries' => 3,
'nice' => 0,
],
],
'production' => [
'supervisor-1' => [
'connection' => 'redis',
'queue' => ['high','medium', 'low'],
'balance' => 'simple',
'tries' => 3,
'timeout' => 300,
'maxProcesses' => 5,
'balanceMaxShift' => 1,
'balanceCooldown' => 3,
],
'supervisor-2' => [
'connection' => 'redis',
'queue' => [
\App\Services\QueueService::QUEUE_NAME__MEDIA_TO_STORAGE,
\App\Services\QueueService::QUEUE_NAME__MEDIA_LIBRARY,
],
'balance' => 'simple',
'tries' => 3,
'timeout' => 120,
'maxProcesses' => 1,
'balanceMaxShift' => 1,
'balanceCooldown' => 3,
],
],