PHP Classes
elePHPant
Icontem

File: config/queue.php

Recommend this page to a friend!
  Classes of Insolita  >  Laravel Interactive Jobs  >  config/queue.php  >  Download  
File: config/queue.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: 1 month ago
Size: 1,082 bytes
 

 

Contents

Class file image Download
<?php

return [
   
'default' => env('QUEUE_DRIVER', 'sync'),
   
'connections' => [
       
'sync' => [
           
'driver' => 'sync',
        ],
       
'database' => [
           
'driver' => 'database',
           
'table' => 'jobs',
           
'queue' => 'default',
           
'retry_after' => 90,
        ],
       
'redis' => [
           
'driver' => 'redis',
           
'connection' => 'default',
           
'queue' => 'default',
           
'retry_after' => 90,
           
'block_for' => null,
        ],
    ],

   
/*
    |--------------------------------------------------------------------------
    | Failed Queue Jobs
    |--------------------------------------------------------------------------
    |
    | These options configure the behavior of failed queue job logging so you
    | can control which database and table are used to store the jobs that
    | have failed. You may change them to any database / table you wish.
    |
    */

   
'failed' => [
       
'database' => env('DB_CONNECTION', 'mysql'),
       
'table' => 'failed_jobs',
    ],

];