Shorten sleep window in reminders

This commit is contained in:
David Bomba 2023-05-26 13:13:32 +10:00
parent 57e7b4f879
commit 34f019bacd

View File

@ -75,7 +75,7 @@ class ReminderJob implements ShouldQueue
$this->sendReminderForInvoice($invoice); $this->sendReminderForInvoice($invoice);
} }
sleep(2); sleep(1);
}); });
} else { } else {
//multiDB environment, need to //multiDB environment, need to
@ -105,7 +105,7 @@ class ReminderJob implements ShouldQueue
$this->sendReminderForInvoice($invoice); $this->sendReminderForInvoice($invoice);
} }
sleep(2); sleep(1);
}); });
} }
} }