laravel-doctrine / orm

A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen
https://laraveldoctrine.org
MIT License
827 stars 179 forks source link

[BUG][QUESTION] failed job queue #452

Open nsn0x01 opened 4 years ago

nsn0x01 commented 4 years ago

HI,

I'm using lumen last version and I have configured the failed job configuration on the queue:

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

Nothing is logged, the table was created correctly and I tried also to enable the FailedJobsServiceProvider.

Any suggests?

eigan commented 3 years ago

This you figure out what the problem was? @nsn0x01

ukenpachi commented 2 years ago

the database will be your connectionname instead of the database type e.g. mysql. Your connection name is in config/Doctrine.php in the managers->default array =