update
This commit is contained in:
@@ -63,6 +63,9 @@ class RentalMoonCommand extends Command
|
|||||||
|
|
||||||
foreach($contacts as $contact) {
|
foreach($contacts as $contact) {
|
||||||
MoonRentalInvoiceCreate::dispatch($contact, $delay)->onQueue('moons');
|
MoonRentalInvoiceCreate::dispatch($contact, $delay)->onQueue('moons');
|
||||||
|
|
||||||
|
//Increase the delay after each job to prevent mails from backing up later down the queue
|
||||||
|
$delay += 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Set the job as completed
|
//Set the job as completed
|
||||||
|
|||||||
Reference in New Issue
Block a user