chore: Fix application deployment queue filter logic
This commit is contained in:
parent
5f07b473e9
commit
33cb2d150d
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ public function handle()
|
|||
$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.');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue