Remove the mail sent listener from the queue

This commit is contained in:
David Bomba 2024-12-02 16:09:12 +11:00
parent fec8698b25
commit 0d160ff70e
2 changed files with 13 additions and 1 deletions

View File

@ -23,7 +23,7 @@ use App\Models\RecurringInvoiceInvitation;
use Illuminate\Contracts\Queue\ShouldQueue;
use Symfony\Component\Mime\MessageConverter;
class MailSentListener implements ShouldQueue
class MailSentListener
{
/**
* Create the event listener.

View File

@ -147,6 +147,18 @@ return [
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINTP', false),
'throw' => false,
],
'backup' => [
'driver' => 's3',
'key' => env('R2_ACCESS_KEY_ID_BACKUP'),
'secret' => env('R2_SECRET_ACCESS_KEY_BACKUP'),
'region' => env('R2_DEFAULT_REGION_BACKUP'),
'bucket' => env('R2_BUCKET_BACKUP'),
'url' => env('R2_URL_BACKUP'),
'visibility' => 'private',
'endpoint' => env('R2_ENDPOINT_BACKUP'),
'use_path_style_endpoint' => env('R2_USE_PATH_STYLE_ENDPOINT_BACKUP', false),
'throw' => false,
],
],