what queue driver are you using ? if it's set to 'sync' it will run synchronously. your event needs to implement Illuminate\Contracts\Queue\ShouldQueue interface
you need to set the queue driver to some other option than "sync", the job will be serialized and processed later on php artisan queue:work or php artisan queue:listen
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community