PHP Classes

File: config/horizon.php

Recommend this page to a friend!
  Classes of Insolita   Laravel Interactive Jobs   config/horizon.php   Download  
File: config/horizon.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel Interactive Jobs
Run background jobs and monitor progress on a page
Author: By
Last change:
Date: 4 years ago
Size: 805 bytes
 

Contents

Class file image Download
<?php

return [
   
'use' => 'default',
   
'prefix' => env('HORIZON_PREFIX', 'horizon:'),
   
'waits' => [
       
'redis:default' => 60,
    ],
   
'trim' => [
       
'recent' => 60,
       
'failed' => 100,
    ],
   
'environments' => [
       
'production' => [
           
'supervisor-1' => [
               
'connection' => 'redis',
               
'queue' => ['default', 'notify'],
               
'balance' => 'simple',
               
'processes' => 10,
               
'tries' => 3,
            ],
        ],

       
'local' => [
           
'supervisor-1' => [
               
'connection' => 'redis',
               
'queue' => ['default', 'notify'],
               
'balance' => 'simple',
               
'processes' => 3,
               
'tries' => 3,
            ],
        ],
    ],
];