Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- return [
- 'domain' => null,
- 'path' => 'horizon',
- 'use' => 'default',
- 'prefix' => env('HORIZON_PREFIX', 'horizon:'),
- 'middleware' => ['web'],
- 'waits' => [
- 'rabbitmq:messages' => 60,
- 'redis:default' => 60,
- ],
- 'trim' => [
- 'recent' => 60,
- 'completed' => 60,
- 'recent_failed' => 10080,
- 'failed' => 10080,
- 'monitored' => 10080,
- ],
- 'fast_termination' => false,
- 'memory_limit' => 64,
- 'environments' => [
- 'production' => [
- 'supervisor-1' => [
- 'connection' => 'redis',
- 'queue' => ['default'],
- 'balance' => 'simple',
- 'processes' => 10,
- 'tries' => 1,
- ],
- ],
- 'local' => [
- 'supervisor-rabbitmq' => [
- 'connection' => 'rabbitmq',
- 'queue' => ['messages'],
- 'balance' => 'simple',
- 'processes' => 3,
- 'tries' => 3,
- ],
- 'supervisor-redis' => [
- 'connection' => 'redis',
- 'queue' => ['default'],
- 'balance' => 'simple',
- 'processes' => 3,
- 'tries' => 3,
- ],
- ],
- ],
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement