queue.php 364 Bytes
Newer Older
Fady Khalife's avatar
Fady Khalife committed
1 2 3 4
<?php

return [

5
    'default' => env('QUEUE_CONNECTION'),
Fady Khalife's avatar
Fady Khalife committed
6 7 8 9 10

    'connections' => [

        'database' => [
            'driver' => 'mongodb',
Jens Segers's avatar
Jens Segers committed
11 12
            'table' => 'jobs',
            'queue' => 'default',
Fady Khalife's avatar
Fady Khalife committed
13 14 15 16 17 18
            'expire' => 60,
        ],

    ],

    'failed' => [
19
        'database' => env('MONGO_DATABASE'),
Jens Segers's avatar
Jens Segers committed
20
        'table' => 'failed_jobs',
Fady Khalife's avatar
Fady Khalife committed
21 22 23
    ],

];