|
|
|
@ -97,7 +97,29 @@ return [
|
|
|
|
|
|
|
|
|
|
'trim' => [
|
|
|
|
|
'recent' => 60,
|
|
|
|
|
'pending' => 60,
|
|
|
|
|
'completed' => 60,
|
|
|
|
|
'recent_failed' => 10080,
|
|
|
|
|
'failed' => 10080,
|
|
|
|
|
'monitored' => 10080,
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Metrics
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| Here you can configure how many snapshots should be kept to display in
|
|
|
|
|
| the metrics graph. This will get used in combination with Horizon's
|
|
|
|
|
| `horizon:snapshot` schedule to define how long to retain metrics.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'metrics' => [
|
|
|
|
|
'trim_snapshots' => [
|
|
|
|
|
'job' => 24,
|
|
|
|
|
'queue' => 24,
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
@ -142,21 +164,25 @@ return [
|
|
|
|
|
'environments' => [
|
|
|
|
|
'production' => [
|
|
|
|
|
'supervisor-1' => [
|
|
|
|
|
'connection' => 'redis',
|
|
|
|
|
'queue' => ['high', 'default', 'feed'],
|
|
|
|
|
'balance' => 'auto',
|
|
|
|
|
'processes' => 20,
|
|
|
|
|
'tries' => 3,
|
|
|
|
|
'connection' => 'redis',
|
|
|
|
|
'queue' => ['high', 'default', 'feed'],
|
|
|
|
|
'balance' => 'auto',
|
|
|
|
|
'maxProcesses' => 20,
|
|
|
|
|
'memory' => 128,
|
|
|
|
|
'tries' => 3,
|
|
|
|
|
'nice' => 0,
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'local' => [
|
|
|
|
|
'supervisor-1' => [
|
|
|
|
|
'connection' => 'redis',
|
|
|
|
|
'queue' => ['high', 'default', 'feed'],
|
|
|
|
|
'balance' => 'auto',
|
|
|
|
|
'processes' => 20,
|
|
|
|
|
'tries' => 3,
|
|
|
|
|
'connection' => 'redis',
|
|
|
|
|
'queue' => ['high', 'default', 'feed'],
|
|
|
|
|
'balance' => 'auto',
|
|
|
|
|
'maxProcesses' => 20,
|
|
|
|
|
'memory' => 128,
|
|
|
|
|
'tries' => 3,
|
|
|
|
|
'nice' => 0,
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|