kainxspirits / laravel-pubsub-queue

A Laravel queue driver for Google PubSub.
MIT License
45 stars 36 forks source link

How to run the pop() method on the Queue? #59

Closed bhaidar closed 8 months ago

bhaidar commented 2 years ago

Hello,

How could I run the pop() method on the queue?

I call an Endpoint on my app via the push subscription whenever a new job is pushed to the queue.

This endpoint receives the job and runs it immediately.

Shall I instead run queue:work command?

php artisan queue:work --queue=pubsub --once

Thank you Bill