Closed
Description
- Laravel version: 10.3.2
- RabbitMQ version: 3.5.2
- Package version: 13.2.0
Using Laravel's Mail Facade I sent 10 emails to the emails queue.
$email = (new TaskEventsMail($message, $subject))->onConnection('rabbitmq')->onQueue('emails'); for ($i = 0; $i < 10; $i++) { Mail::to($to)->send($email); }
When I try to consume with:
php artisan rabbitmq:consume --rest 5 --queue emails
The emails are processed without the delay of 5 seconds between each.
Metadata
Metadata
Assignees
Labels
No labels