Skip to content
Advertisement

Tag: queue

Handle Method not being called in Laravel Redis Queue

When adding an item to the queue, for some reason the handle method is not being called. The Log entry in __construct is appearing but when attempting to log in handle(), nothing appears. The method i’m using to dispatch is ProcessImport::dispatch($path, $task->task_id); My queue service is configured to use Redis, and redis is storing all the data accordingly. I am

Laravel queued jobs are not retrying when they fail

The problem I’m dispatching a job to execute an action that needs a resource ready to be correctly executed, so if it fails it needs to be retried after some time. But what really happens is that if it fails, it’s not executed ever again. I’m using Supervisor to manage the queue and the database driver and I have changed

Laravel 5.7 – Queues Jobs are too slow

I use Laravel 5.7 and 3 queues jobs, the time between jobs is too long/slow. I foreach items of RSS feeds in the first job, and I dispatch this item in second job, etc… I don’t enter in details but there are some ridiculous little calculations that must not take time. The problem is that every dispatch to a job

How to get all pending jobs in laravel queue on redis?

The queue:listen was not run on a server, so some jobs were pushed (using Redis driver) but never run. How could I count (or get all) these jobs? I did not find any artisan command to get this information. Answer If someone is still looking for an answer, here is the way I did it: $connection is the Redis’ connection

Advertisement