From 4786c9b69bb8103e6f746489fe1ae8c8f982ecbe Mon Sep 17 00:00:00 2001 From: Cannonb4ll Date: Wed, 13 Dec 2023 12:55:06 +0100 Subject: [PATCH 1/2] wip --- app/Notifications/CommentHasReplyNotification.php | 4 ++++ app/Notifications/Item/ItemHasNewCommentNotification.php | 4 ++++ app/Notifications/Item/ItemUpdatedNotification.php | 4 ++++ app/Notifications/MentionNotification.php | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/app/Notifications/CommentHasReplyNotification.php b/app/Notifications/CommentHasReplyNotification.php index 869fe313..c82e4fd9 100644 --- a/app/Notifications/CommentHasReplyNotification.php +++ b/app/Notifications/CommentHasReplyNotification.php @@ -13,6 +13,10 @@ class CommentHasReplyNotification extends Notification implements ShouldQueue { use Queueable; + public $tries = 5; + + public $backoff = 10; + public function __construct( public readonly Comment $comment ) { diff --git a/app/Notifications/Item/ItemHasNewCommentNotification.php b/app/Notifications/Item/ItemHasNewCommentNotification.php index ac82b02d..2524828e 100644 --- a/app/Notifications/Item/ItemHasNewCommentNotification.php +++ b/app/Notifications/Item/ItemHasNewCommentNotification.php @@ -14,6 +14,10 @@ class ItemHasNewCommentNotification extends Notification implements ShouldQueue { use Queueable; + public $tries = 5; + + public $backoff = 10; + public function __construct( public readonly Comment $comment, public readonly User $user diff --git a/app/Notifications/Item/ItemUpdatedNotification.php b/app/Notifications/Item/ItemUpdatedNotification.php index bb1f44f0..fda3b8ab 100644 --- a/app/Notifications/Item/ItemUpdatedNotification.php +++ b/app/Notifications/Item/ItemUpdatedNotification.php @@ -14,6 +14,10 @@ class ItemUpdatedNotification extends Notification implements ShouldQueue { use Queueable; + public $tries = 5; + + public $backoff = 10; + public function __construct( public readonly Item $item ) { diff --git a/app/Notifications/MentionNotification.php b/app/Notifications/MentionNotification.php index 7c51103c..1fd637b0 100644 --- a/app/Notifications/MentionNotification.php +++ b/app/Notifications/MentionNotification.php @@ -13,6 +13,10 @@ class MentionNotification extends Notification implements ShouldQueue { use Queueable; + public $tries = 5; + + public $backoff = 10; + public function __construct( public readonly Comment $comment ) { From b99a6cc009b0c323725bc56f9743fbe11dc8225e Mon Sep 17 00:00:00 2001 From: Cannonb4ll Date: Wed, 13 Dec 2023 12:56:16 +0100 Subject: [PATCH 2/2] Change version --- config/mail.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/mail.php b/config/mail.php index 542d98c3..f0d98b11 100644 --- a/config/mail.php +++ b/config/mail.php @@ -58,9 +58,9 @@ 'postmark' => [ 'transport' => 'postmark', - // 'client' => [ - // 'timeout' => 5, - // ], + 'client' => [ + 'http_version' => '1.1', + ] ], 'sendmail' => [