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.

chore: Fix application deployment queue filter logic

Andras Bacsai33cb2d150df9
diff --git a/app/Console/Commands/CheckApplicationDeploymentQueue.php b/app/Console/Commands/CheckApplicationDeploymentQueue.php
index 9f66e058e0..e89d26f2c3 100644
--- a/app/Console/Commands/CheckApplicationDeploymentQueue.php
+++ b/app/Console/Commands/CheckApplicationDeploymentQueue.php
@@ -18,7 +18,7 @@ class CheckApplicationDeploymentQueue extends Command
$deployments = ApplicationDeploymentQueue::whereIn('status', [
ApplicationDeploymentStatus::IN_PROGRESS,
ApplicationDeploymentStatus::QUEUED,
- ])->where('created_at', '>=', now()->subSeconds($seconds))->get();
+ ])->where('created_at', '<=', now()->subSeconds($seconds))->get();
if ($deployments->isEmpty()) {
$this->info('No deployments found in the last '.$seconds.' seconds.');