Queued Event triggering infinite times

Ishaan posted 1 week ago

I am dispatching an event called OrderPlaced. This event is implements ShouldQueue.

In this event, I am generating a notification to send an email to user about order details. The notification also implements ShouldQueue. When the event has triggered the event OrderPlacedNotification triggers infinite times and the notification hasn't called a single time. I have also checked for any errors in the handle().

Kindly someone help me through this.

Sign in to participate in this thread!

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