Merge branch 'next' into patch-1

This commit is contained in:
Matt
2024-04-30 13:43:08 -05:00
committed by GitHub
5 changed files with 6 additions and 12 deletions

View File

@@ -20,11 +20,12 @@ class SendMessageToDiscordJob implements ShouldQueue, ShouldBeEncrypted
* @var int * @var int
*/ */
public $tries = 5; public $tries = 5;
public $backoff = 10;
/** /**
* The maximum number of unhandled exceptions to allow before failing. * The maximum number of unhandled exceptions to allow before failing.
*/ */
public int $maxExceptions = 3; public int $maxExceptions = 5;
public function __construct( public function __construct(
public string $text, public string $text,

View File

@@ -43,15 +43,8 @@ class DeploymentSuccess extends Notification implements ShouldQueue
public function via(object $notifiable): array public function via(object $notifiable): array
{ {
$channels = setNotificationChannels($notifiable, 'deployments'); return setNotificationChannels($notifiable, 'deployments');
if (isCloud()) {
$channels = array_filter($channels, function ($channel) {
return $channel !== 'App\Notifications\Channels\EmailChannel';
});
}
return $channels;
} }
public function toMail(): MailMessage public function toMail(): MailMessage
{ {
$mail = new MailMessage(); $mail = new MailMessage();

View File

@@ -7,7 +7,7 @@ return [
// The release version of your application // The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.271', 'release' => '4.0.0-beta.272',
// When left empty or `null` the Laravel environment will be used // When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'), 'environment' => config('app.env'),

View File

@@ -1,3 +1,3 @@
<?php <?php
return '4.0.0-beta.271'; return '4.0.0-beta.272';

View File

@@ -1,7 +1,7 @@
{ {
"coolify": { "coolify": {
"v4": { "v4": {
"version": "4.0.0-beta.271" "version": "4.0.0-beta.272"
} }
} }
} }