Minor fixes for failed notifications
This commit is contained in:
parent
d21144f64b
commit
2e3f371b80
2 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ class InvoiceFailedEmailNotification
|
|||
$first_notification_sent = true;
|
||||
|
||||
$invoice = $event->invitation->invoice;
|
||||
$invoice->update(['last_sent_date' => now()]);
|
||||
// $invoice->update(['last_sent_date' => now()]);
|
||||
|
||||
$nmo = new NinjaMailerObject;
|
||||
$nmo->mailable = new NinjaMailer((new EntityFailedSendObject($event->invitation, 'invoice', $event->template, $event->message))->build());
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ return [
|
|||
'connection' => env('REDIS_QUEUE_CONNECTION', 'default'),
|
||||
'queue' => env('REDIS_QUEUE', 'default'),
|
||||
'retry_after' => 90000000,
|
||||
'block_for' => null,
|
||||
'block_for' => 1,
|
||||
'after_commit' => false,
|
||||
],
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue