Questions tagged [laravel-queue]

Laravel queues provide a unified API across a variety of different queue backends, such as Beanstalk, Amazon SQS, Redis, or even a relational database. Queues allow you to defer the processing of a time-consuming task, such as sending an email, until a later time, drastically speeding up web requests to your application.

Laravel queues provide a unified API across a variety of different queue backends, such as Beanstalk, Amazon SQS, Redis, or even a relational database. Queues allow you to defer the processing of a time-consuming task, such as sending an email, until a later time, drastically speeding up web requests to your application.

448 questions
0
votes
1 answer

Laravel 5.2 job jammed in database?

I am using LARAVEL queues with jobs to insert a large excel in my database and some jobs are getting jammed and not executing. I chunk the file contents(250 rows per job) and it inserts most of them until it stops. Insert Code (job that inserts 250…
Diogo Silva
  • 39
  • 1
  • 13
0
votes
1 answer

Laravel 5.2 [Illuminate\Database\Eloquent\ModelNotFoundException] No query results for model [App\Users\BaseUser] in a Queue Job

When I pass a User into my queue job (which sends an email to the user) the email sends correctly with the right information however, I get this error: [Illuminate\Database\Eloquent\ModelNotFoundException]No query results for model…
jjohnson
  • 39
  • 1
  • 6
0
votes
1 answer

Setting up Queue in Lumen Framework

I'm trying to set up queue in Lumen using the guide from lumen page: http://lumen.laravel.com/docs/queues
Yansen Tan
  • 551
  • 4
  • 19
-1
votes
1 answer

laravel queue worker subdirectory

I have a laravel queue worker setup where i create a spreadsheet file with phpoffice and save it 2 levels below the root directory ../../directory_name. Saving the file works fine when i call the save method myself. but when it's called by the…
-1
votes
1 answer

Communicate between two different laravel apps using laravel queues and jobs

I am using different laravel applications as microservices. like laravel app1 (admin) and laravel app2(user). There are some jobs need to be pushed to queue from laravel app1 and those jobs need to be processed at laravel app2 by pulling it from…
vishal-mote
  • 362
  • 2
  • 6
  • 22
-1
votes
1 answer

How do I use Laravel notification toArray or toDatabase method with 'database' queue connection

I asked this question: Laravel notification toArray() not saving data to notifications table and afterwards, I just thought to change my queue connection back to 'sync' from 'database' and I found out that the toArray method saved to the…
Adefowowe
  • 198
  • 2
  • 14
-1
votes
1 answer

Laravel queue And Azure WebJob

I have a Laravel project in Azure App Service .. I'm using Laravel queue to run long jobs in the background, so I've added a WebJob to run the queue .. the problem is the jobs execute sequentially and not parallelly. After searching I found that I…
-1
votes
1 answer

How can i use the Queue::after on Laravel?

I'm using Queue to send my mails on my application, and it's working great: class SendMail implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; private $user_mail; private $person_data; private…
Guilherme do Valle
  • 401
  • 1
  • 4
  • 17
-1
votes
1 answer

How to change Table name and column name of jobs table in laravel queue?

I want to change table name and column name of jobs table which is genetared by creating a laravel queue in laravel project.
-1
votes
1 answer

Stopping a Laravel Queue after it has finished running

I am running a web application on Laravel 5.5. I have a requirement to run the jobs in a queue and then stop the queue. The queue cannot be allowed to stay running. I am running the below command but this just endlessly carries on. php artisan…
Rutnet
  • 1,533
  • 5
  • 26
  • 48
-1
votes
2 answers

Why "Class 'GuzzleHttp\Client' not found" even after Installing it in Laravel?

I've been reading answers from all the questions related to GuzzleHttp\Client but situation is getting worst. I am trying to send E-mail Updates to all of my Application users using Laravel Queues. I don't know what's wrong but Jobs are failing. I…
Adarsh Sojitra
  • 2,059
  • 1
  • 27
  • 50
-2
votes
1 answer

How to use transaction inside Job OR how to rollback model write operation inside job when it runs out of memory?

Hi, I have a job which process below operations: Import data, save in db Change status of saved records Dispatch event with saved records for further operations. At point 2. queue process runs out of memory and get killed. So I want to use a…
Himakar
  • 345
  • 4
  • 17
-2
votes
1 answer

Laravel Jobs (Queue) do not worked

I have a problem with one of my Jobs laravel. (This is the first time that i exepect this problem, i have anothers jobs who is working without problems...) I have a listener who dispatch a job when one model is updating, so : One model observer…
tom1337
  • 228
  • 3
  • 11
1 2 3
29
30