I am trying to debug some bizarre behaviour of my PHP application. It is running Laravel 6 + AWS SQS. The program downloads call recordings from a VoIP provider’s API using a job. The API has a heavy rate limit of 10req/minute, so I’m throttling the requests on my side. The job is configured to try to complete within 24
Tag: queue
images not appear in the blade page if send it to email by using queue job Laravel?
I send an email to user for verifying, by using queue job after registration, the job run successfully but the (blade page), which sent to the user doesn’t show the images, Although if I sent the blade page without send it by queue job, the images appear fine!? So the issue is that: the images in the blade page in
Job processing number in terminal – queue in laravel
What is the number next to time in the terminal if it is for processing amount how can I rest it to start from 0 every time running the command php artisan queue:work it starts to continue from last number stop on it, also it possible to change it to string? I try to this command to clear caches php
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
MySQL selling database consistency: queued transactions?
I’m trying to create an application that has the ability to sell gift cards but I’m fearing the consistency of data, so let me explain what I mean: I have 3 tables transactions(id, created_date), …
Create a process to dynamically listen, work or monitor queues in laravel
I’m dead stuck in a problem where I have to dynamically create queues and those queues should start to listen to all the active jobs assigned to them. “Using general queue” is not feasible in my case …
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