From 4786c9b69bb8103e6f746489fe1ae8c8f982ecbe Mon Sep 17 00:00:00 2001 From: Cannonb4ll Date: Wed, 13 Dec 2023 12:55:06 +0100 Subject: [PATCH] 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 ) {