-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Job Batching not Working #2144
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
Comments
Same problem! Try on MongoDB and MySQL. |
Hi @stadeleon, in order to fix this issue this PR #1904 has to be merge |
Bus::batch will not work with MongoDB. Currently not supporting, may be in feature releases. |
has this already been resolved? |
Is any progress about this issue? |
Same :(
|
Try to extend that DatabaseBatchRepository in providers by creating custom class with redeclared find() method |
Hello, this problem still persists. Is there any update? Laravel version: 8.83.23 |
Is there any update for batching ? i've try hybrid using mysql for batches only. What i do is i change the config of queue where there is a batch array says 'batching' . It work for creating the batch, but im not sure all the queue goes to mongodb instead. Really need batching to be worked! |
I see a couple of problems using the default
With that in mind, the solution will most likely involve creating a separate repository class that doesn't have the issues mentioned above. I've created PHPORM-81 to track this internally. |
same :( this issue opened 2020 and now 2024. Pls fix it. We cant make batch on MongoDB how to do this? Why laravel doesnt focus to mongodb ? |
We are actively working on this. Please follow PHPORM-81 for updates. |
I found a solution for this. I created Sqlite and i use for job_batches on it. This is work for me. |
+1 for this. |
Job Batching was added with v4.4 |
Description:
Trying to get property 'id' of non-object
on vendor/laravel/framework/src/Illuminate/Bus/DatabaseBatchRepository.php:256
Steps to reproduce
Expected behaviour
in Illuminate\Bus\DatabaseBatchRepository::find
Actual behaviour
in Illuminate\Bus\DatabaseBatchRepository::find
Thanks
The text was updated successfully, but these errors were encountered: