Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: retry notifications

Andras Bacsai03d9f933971f
diff --git a/app/Notifications/Application/DeploymentFailed.php b/app/Notifications/Application/DeploymentFailed.php
index ddbdf1446e..ea9e05652d 100644
--- a/app/Notifications/Application/DeploymentFailed.php
+++ b/app/Notifications/Application/DeploymentFailed.php
@@ -16,6 +16,7 @@ class DeploymentFailed extends Notification implements ShouldQueue
{
use Queueable;
+ public $tries = 5;
public Application $application;
public string $deployment_uuid;
public ?ApplicationPreview $preview = null;
diff --git a/app/Notifications/Application/DeploymentSuccess.php b/app/Notifications/Application/DeploymentSuccess.php
index f46c44c0eb..0705e11ae1 100644
--- a/app/Notifications/Application/DeploymentSuccess.php
+++ b/app/Notifications/Application/DeploymentSuccess.php
@@ -16,6 +16,7 @@ class DeploymentSuccess extends Notification implements ShouldQueue
{
use Queueable;
+ public $tries = 5;
public Application $application;
public string $deployment_uuid;
public ApplicationPreview|null $preview = null;
diff --git a/app/Notifications/Application/StatusChanged.php b/app/Notifications/Application/StatusChanged.php
index 0d01d08ab0..11bd9f5249 100644
--- a/app/Notifications/Application/StatusChanged.php
+++ b/app/Notifications/Application/StatusChanged.php
@@ -14,6 +14,7 @@ class StatusChanged extends Notification implements ShouldQueue
{
use Queueable;
+ public $tries = 5;
public $application;
public string $application_name;
diff --git a/app/Notifications/Database/BackupFailed.php b/app/Notifications/Database/BackupFailed.php
index 613b0846cc..960232f9c6 100644
--- a/app/Notifications/Database/BackupFailed.php
+++ b/app/Notifications/Database/BackupFailed.php
@@ -14,6 +14,7 @@ class BackupFailed extends Notification implements ShouldQueue
{
use Queueable;
+ public $tries = 5;
public string $name;
public string $frequency;
diff --git a/app/Notifications/Database/BackupSuccess.php b/app/Notifications/Database/BackupSuccess.php
index eb6d07c257..bac96ae35c 100644
--- a/app/Notifications/Database/BackupSuccess.php
+++ b/app/Notifications/Database/BackupSuccess.php
@@ -14,6 +14,7 @@ class BackupSuccess extends Notification implements ShouldQueue
{
use Queueable;
+ public $tries = 5;
public string $name;
public string $frequency;
diff --git a/app/Notifications/Internal/GeneralNotification.php b/app/Notifications/Internal/GeneralNotification.php
index 78a76c059c..0241756222 100644
--- a/app/Notifications/Internal/GeneralNotification.php
+++ b/app/Notifications/Internal/GeneralNotification.php
@@ -12,6 +12,7 @@ class GeneralNotification extends Notification implements ShouldQueue
{
use Queueable;
+ public $tries = 5;
public function __construct(public string $message)
{
}
diff --git a/app/Notifications/Server/NotReachable.php b/app/Notifications/Server/NotReachable.php
index 0838082240..672636c571 100644
--- a/app/Notifications/Server/NotReachable.php
+++ b/app/Notifications/Server/NotReachable.php
@@ -15,6 +15,7 @@ class NotReachable extends Notification implements ShouldQueue
{
use Queueable;
+ public $tries = 5;
public function __construct(public Server $server)
{
diff --git a/app/Notifications/Test.php b/app/Notifications/Test.php
index 0b47d74b2f..fbbd7a1fb0 100644
--- a/app/Notifications/Test.php
+++ b/app/Notifications/Test.php
@@ -14,6 +14,7 @@ class Test extends Notification implements ShouldQueue
{
use Queueable;
+ public $tries = 5;
public function __construct(public string|null $emails = null)
{
}
diff --git a/app/Notifications/TransactionalEmails/InvitationLink.php b/app/Notifications/TransactionalEmails/InvitationLink.php
index 96157c7e6d..ab7cfb1220 100644
--- a/app/Notifications/TransactionalEmails/InvitationLink.php
+++ b/app/Notifications/TransactionalEmails/InvitationLink.php
@@ -15,6 +15,7 @@ class InvitationLink extends Notification implements ShouldQueue
{
use Queueable;
+ public $tries = 5;
public function via(): array
{
return [TransactionalEmailChannel::class];
diff --git a/app/Notifications/TransactionalEmails/Test.php b/app/Notifications/TransactionalEmails/Test.php
index 3f3a009bba..21cf874703 100644
--- a/app/Notifications/TransactionalEmails/Test.php
+++ b/app/Notifications/TransactionalEmails/Test.php
@@ -12,6 +12,7 @@ class Test extends Notification implements ShouldQueue
{
use Queueable;
+ public $tries = 5;
public function __construct(public string $emails)
{
}