-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Feat: Add Laravel queue support #379
Conversation
Nice! Good to see it was an easy add. I figured it'd work since Livewire uses it (sync) but hadn't had time to look into console. When you get a chance, can you run |
Thanks @Log1x ! I just did it 🚀 |
Hey @Log1x, it seems I was using a cached hard-coded fix on my machine locally. The problem was that \Illuminate\Queue\QueueServiceProvider::class was registering the Worker class under 'queue.worker', but later it attempts to resolve it under the fully qualified class name. Let me know if it works now on your end. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Hello, Sorry, I don't know if this is the right place. Do you think it's possible to add Batches management? I've tried adding these lines:
And it helps generate the necessary migrations. By the way, the commands appear in duplicate. Thanks :) |
This PR adds support for Laravel Queue.
How it works:
wp acorn queue:table
and then run the migrations withwp acorn migrate
.wp acorn make:job TestJob
.TestJob::dispatch()
.wp acorn queue:work
.