Skip to content

Commit 33cb2d1

Browse files
committed
chore: Fix application deployment queue filter logic
1 parent 5f07b47 commit 33cb2d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Console/Commands/CheckApplicationDeploymentQueue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function handle()
1818
$deployments = ApplicationDeploymentQueue::whereIn('status', [
1919
ApplicationDeploymentStatus::IN_PROGRESS,
2020
ApplicationDeploymentStatus::QUEUED,
21-
])->where('created_at', '>=', now()->subSeconds($seconds))->get();
21+
])->where('created_at', '<=', now()->subSeconds($seconds))->get();
2222
if ($deployments->isEmpty()) {
2323
$this->info('No deployments found in the last '.$seconds.' seconds.');
2424

0 commit comments

Comments
 (0)