mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-30 20:53:45 +08:00
f139cded78
* Temporarily moved back config path * Apply Laravel coding style * Shift exception handler * Shift HTTP kernel and middleware * Shift service providers * Convert options array to fluent methods * Shift to class based routes * Shift console routes * Ignore temporary framework files * Shift to class based factories * Namespace seeders * Shift PSR-4 autoloading * Shift config files * Default config files * Shift Laravel dependencies * Shift return type of base TestCase methods * Shift cleanup * Applied stylci style changes * Reverted config files location * Applied manual changes to Laravel 8 shift Co-authored-by: Shift <shift@laravelshift.com>
51 lines
1.2 KiB
PHP
51 lines
1.2 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Queue configuration options.
|
|
*
|
|
* Changes to these config files are not supported by BookStack and may break upon updates.
|
|
* Configuration should be altered via the `.env` file or environment variables.
|
|
* Do not edit this file unless you're happy to maintain any changes yourself.
|
|
*/
|
|
|
|
return [
|
|
|
|
// Default driver to use for the queue
|
|
// Options: null, sync, redis
|
|
'default' => env('QUEUE_CONNECTION', 'sync'),
|
|
|
|
// Queue connection configuration
|
|
'connections' => [
|
|
|
|
'sync' => [
|
|
'driver' => 'sync',
|
|
],
|
|
|
|
'database' => [
|
|
'driver' => 'database',
|
|
'table' => 'jobs',
|
|
'queue' => 'default',
|
|
'retry_after' => 90,
|
|
'after_commit' => false,
|
|
],
|
|
|
|
'redis' => [
|
|
'driver' => 'redis',
|
|
'connection' => 'default',
|
|
'queue' => env('REDIS_QUEUE', 'default'),
|
|
'retry_after' => 90,
|
|
'block_for' => null,
|
|
'after_commit' => false,
|
|
],
|
|
|
|
],
|
|
|
|
// Failed queue job logging
|
|
'failed' => [
|
|
'driver' => 'database-uuids',
|
|
'database' => 'mysql',
|
|
'table' => 'failed_jobs',
|
|
],
|
|
|
|
];
|