-
+
diff --git a/app/Models/Project.php b/app/Models/Project.php
index 1cbce6cac..1f39aa725 100644
--- a/app/Models/Project.php
+++ b/app/Models/Project.php
@@ -117,7 +117,7 @@ class Project extends BaseModel
{
$default = $this->environments()->where('name', 'production')->first();
if (! $default) {
- $default = $this->environments()->sortBy('created_at')->first();
+ $default = $this->environments()->get()->sortBy('created_at')->first();
}
return $default;
diff --git a/bootstrap/helpers/applications.php b/bootstrap/helpers/applications.php
index df891b824..1a08a46eb 100644
--- a/bootstrap/helpers/applications.php
+++ b/bootstrap/helpers/applications.php
@@ -46,11 +46,11 @@ function queue_application_deployment(Application $application, string $deployme
if ($no_questions_asked) {
dispatch(new ApplicationDeploymentJob(
application_deployment_queue_id: $deployment->id,
- ));
+ ))->onQueue('high');
} elseif (next_queuable($server_id, $application_id)) {
dispatch(new ApplicationDeploymentJob(
application_deployment_queue_id: $deployment->id,
- ));
+ ))->onQueue('high');
}
}
function force_start_deployment(ApplicationDeploymentQueue $deployment)
@@ -61,7 +61,7 @@ function force_start_deployment(ApplicationDeploymentQueue $deployment)
dispatch(new ApplicationDeploymentJob(
application_deployment_queue_id: $deployment->id,
- ));
+ ))->onQueue('high');
}
function queue_next_deployment(Application $application)
{
@@ -74,7 +74,7 @@ function queue_next_deployment(Application $application)
dispatch(new ApplicationDeploymentJob(
application_deployment_queue_id: $next_found->id,
- ));
+ ))->onQueue('high');
}
}
@@ -115,7 +115,7 @@ function next_after_cancel(?Server $server = null)
dispatch(new ApplicationDeploymentJob(
application_deployment_queue_id: $next->id,
- ));
+ ))->onQueue('high');
}
break;
}
diff --git a/config/sentry.php b/config/sentry.php
index caa659921..7eca9d5a2 100644
--- a/config/sentry.php
+++ b/config/sentry.php
@@ -7,7 +7,7 @@ return [
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
- 'release' => '4.0.0-beta.298',
+ 'release' => '4.0.0-beta.299',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),
diff --git a/config/version.php b/config/version.php
index ddcd3f2d4..4f0307e2d 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
+If something goes wrong and you cannot upgrade your instance, You can check the following guide on what to do.
+If something goes wrong and you cannot upgrade your instance, You can check the following + guide on what to do. +
@if ($showProgress)