the browser-facing portion of osu!
at master 2.1 kB view raw
1<?php 2 3return [ 4 5 /* 6 |-------------------------------------------------------------------------- 7 | Default Queue Driver 8 |-------------------------------------------------------------------------- 9 | 10 | The Laravel queue API supports a variety of back-ends via an unified 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: "null", "sync", "database", "beanstalkd", 15 | "sqs", "iron", "redis" 16 | 17 */ 18 19 'default' => env('QUEUE_DRIVER', 'sync'), 20 21 /* 22 |-------------------------------------------------------------------------- 23 | Queue Connections 24 |-------------------------------------------------------------------------- 25 | 26 | Here you may configure the connection information for each server that 27 | is used by your application. A default configuration has been added 28 | for each back-end shipped with Laravel. You are free to add more. 29 | 30 */ 31 32 'connections' => [ 33 'sync' => [ 34 'driver' => 'sync', 35 ], 36 37 'database' => [ 38 'driver' => 'database', 39 'table' => 'jobs', 40 'queue' => 'default', 41 'retry_after' => 305, 42 ], 43 44 // retry_after has to be longer than the job timeout; 5s added to allow time for workers to be killed. 45 'redis' => [ 46 'driver' => 'redis', 47 'queue' => 'default', 48 'retry_after' => 305, // RegenerateBeatmapsetCover (300s), 49 ], 50 ], 51 52 /* 53 |-------------------------------------------------------------------------- 54 | Failed Queue Jobs 55 |-------------------------------------------------------------------------- 56 | 57 | These options configure the behavior of failed queue job logging so you 58 | can control which database and table are used to store the jobs that 59 | have failed. You may change them to any database / table you wish. 60 | 61 */ 62 63 'failed' => [ 64 'database' => 'mysql', 65 'table' => 'failed_jobs', 66 ], 67 68];