-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel queue doesn't work with queue connection database. #2629
Comments
Do you know if it worked with Laravel 9 and laravel-mongodb 3.9? I'd like to determine whether it's a regression or a new feature or a need for documentation. |
@GromNaN I don't know... |
@GromNaN Same problem here
Logs:
|
@spont4e Make sure in "connections"->"database"->["driver"=> "mongodb"]. |
Yes, Everything was configured properly. |
is there any new news about this, we are already in laravel 11 and the error still persists when the default connection is MongoDB. |
We tentatively plan to work on this in the next month (April 2024). |
20230907.41+debian111.gbp9ffec520230907.41+debian111.gbp9ffec5Description:
Laravel queue doesn't work when mongodb is the default database driver.
Steps to reproduce
.env
>DB_CONNECTION=mongodb
.env
>QUEUE_CONNECTION=database
php8.2 artisan queue:work --queue=high,default,low --sleep=3 --tries=3 --daemon
Expected behaviour
storage/logs/laravel.log
to be clean.Actual behaviour
storage/logs/laravel.log
contains error.Logs:
The text was updated successfully, but these errors were encountered: