I'm using laravel Queues with beanstalkd driver ( same thing happened with redis ), when i push a Queue it just keeps repeating
What i did simply is:
- Install beanstalkd , run
beanstalkd
- Run
php artisan queue:listen
- In the terminal window of queue listen , it just keeps repeating after every few seconds:
Processed: SendEmail
I thought the queue wasn't empty, so tried flushing it out ( it was empty ), failed jobs table is empty.
Second test , stopped beanstlkd and queue listen , i have a controller that simply says:
..
Queue::push('SendEmail@fire', array('message' => $msg->id));
There's no loops in the controller at all, nor in the send email function