Increase reminder chunk size

This commit is contained in:
David Bomba 2024-06-30 18:50:51 +10:00
parent ab23592b96
commit b8be425d4d

View File

@ -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);