PR #1409 added an --all flag to delete all failed jobs.
When testing this with my application, for whatever reason $repository->totalFailed() didn't match the count of $repository->getFailed(). This caused an infinite loop, which is fixed by this PR.
PR #1409 added an
--all
flag to delete all failed jobs.When testing this with my application, for whatever reason
$repository->totalFailed()
didn't match the count of$repository->getFailed()
. This caused an infinite loop, which is fixed by this PR.