Skip to content

Commit

Permalink
fix(ClassifyCommand): Don't pass any params to clear-background-jobs
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Sep 12, 2024
1 parent 056ea4e commit 2f9b521
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Command/Classify.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$this->logger->setCliOutput($output);

// pop "retry" flag from parameters passed to clear background jobs
$clearBackgroundJobs = new ArrayInput([
'command' => 'recognize:clear-background-jobs',
]);
$clearBackgroundJobs = new ArrayInput([]);
$this->clearBackgroundJobs->run($clearBackgroundJobs, $output);

$models = array_values(array_filter([
Expand Down

0 comments on commit 2f9b521

Please sign in to comment.