Skip to content

Commit

Permalink
Do not mark PENDING scans as failed. Wait for them to complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
csavelief committed Sep 17, 2024
1 parent 3aecd8d commit a1e52de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected function handle2($event)
$taskStatus = $task['task_status'] ?? null;

// The task is running: try again later
if (!$taskStatus || $taskStatus === 'STARTED') {
if (!$taskStatus || $taskStatus === 'STARTED' || $taskStatus === 'PENDING') {
$event->sink();
return;
}
Expand Down

0 comments on commit a1e52de

Please sign in to comment.