planiverse

A minimalist, no-JS front-end for Mastodon.
git clone https://git.stjo.hn/planiverse
Log | Files | Refs | README | LICENSE

queue.php (2572B)


      1 <?php
      2 
      3 return [
      4 
      5     /*
      6     |--------------------------------------------------------------------------
      7     | Default Queue Driver
      8     |--------------------------------------------------------------------------
      9     |
     10     | Laravel's queue API supports an assortment of back-ends via a single
     11     | API, giving you convenient access to each back-end using the same
     12     | syntax for each one. Here you may set the default queue driver.
     13     |
     14     | Supported: "sync", "database", "beanstalkd", "sqs", "redis", "null"
     15     |
     16     */
     17 
     18     'default' => env('QUEUE_DRIVER', 'sync'),
     19 
     20     /*
     21     |--------------------------------------------------------------------------
     22     | Queue Connections
     23     |--------------------------------------------------------------------------
     24     |
     25     | Here you may configure the connection information for each server that
     26     | is used by your application. A default configuration has been added
     27     | for each back-end shipped with Laravel. You are free to add more.
     28     |
     29     */
     30 
     31     'connections' => [
     32 
     33         'sync' => [
     34             'driver' => 'sync',
     35         ],
     36 
     37         'database' => [
     38             'driver' => 'database',
     39             'table' => 'jobs',
     40             'queue' => 'default',
     41             'retry_after' => 90,
     42         ],
     43 
     44         'beanstalkd' => [
     45             'driver' => 'beanstalkd',
     46             'host' => 'localhost',
     47             'queue' => 'default',
     48             'retry_after' => 90,
     49         ],
     50 
     51         'sqs' => [
     52             'driver' => 'sqs',
     53             'key' => env('SQS_KEY', 'your-public-key'),
     54             'secret' => env('SQS_SECRET', 'your-secret-key'),
     55             'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
     56             'queue' => env('SQS_QUEUE', 'your-queue-name'),
     57             'region' => env('SQS_REGION', 'us-east-1'),
     58         ],
     59 
     60         'redis' => [
     61             'driver' => 'redis',
     62             'connection' => 'default',
     63             'queue' => 'default',
     64             'retry_after' => 90,
     65         ],
     66 
     67     ],
     68 
     69     /*
     70     |--------------------------------------------------------------------------
     71     | Failed Queue Jobs
     72     |--------------------------------------------------------------------------
     73     |
     74     | These options configure the behavior of failed queue job logging so you
     75     | can control which database and table are used to store the jobs that
     76     | have failed. You may change them to any database / table you wish.
     77     |
     78     */
     79 
     80     'failed' => [
     81         'database' => env('DB_CONNECTION', 'mysql'),
     82         'table' => 'failed_jobs',
     83     ],
     84 
     85 ];