From 34f019bacd6dcf329ae1b73cd858e45443c173b9 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 26 May 2023 13:13:32 +1000 Subject: [PATCH] Shorten sleep window in reminders --- app/Jobs/Util/ReminderJob.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/Util/ReminderJob.php b/app/Jobs/Util/ReminderJob.php index 76a048675b9d..c7955d3f40e7 100644 --- a/app/Jobs/Util/ReminderJob.php +++ b/app/Jobs/Util/ReminderJob.php @@ -75,7 +75,7 @@ class ReminderJob implements ShouldQueue $this->sendReminderForInvoice($invoice); } - sleep(2); + sleep(1); }); } else { //multiDB environment, need to @@ -105,7 +105,7 @@ class ReminderJob implements ShouldQueue $this->sendReminderForInvoice($invoice); } - sleep(2); + sleep(1); }); } }