mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Minor fixes for failed notifications
This commit is contained in:
parent
d21144f64b
commit
2e3f371b80
@ -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…
Reference in New Issue
Block a user