From b8be425d4d1b50b7164bcf84d069f7ec7035dfbb Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 30 Jun 2024 18:50:51 +1000 Subject: [PATCH] Increase reminder chunk size --- app/Jobs/Util/ReminderJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Util/ReminderJob.php b/app/Jobs/Util/ReminderJob.php index 330b29c301ac..5de7e4835b3b 100644 --- a/app/Jobs/Util/ReminderJob.php +++ b/app/Jobs/Util/ReminderJob.php @@ -99,7 +99,7 @@ class ReminderJob implements ShouldQueue ->whereHas('company', function ($query) { $query->where('is_disabled', 0); }) - ->with('invitations')->chunk(50, function ($invoices) { + ->with('invitations')->chunk(200, function ($invoices) { foreach ($invoices as $invoice) { $this->sendReminderForInvoice($invoice);