Support the ongoing development of Laravel.io →
posted 10 years ago
Queues

I call

$this->dispatch(new GenerateEventTotals(3));

from within a controller and 2 jobs for the same thing are added to my sqs queue. Any ideas?

I have isolated this method to ensure it is not being called twice by putting it in it's own route for testing.

~ confused

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

dfreer dfreer Joined 26 Feb 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.