This commit is contained in:
2020-05-10 22:32:03 -05:00
parent 95a4636414
commit acb55a1ecb

View File

@@ -63,6 +63,9 @@ class RentalMoonCommand extends Command
foreach($contacts as $contact) {
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