We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e8a6f7 commit d30c72bCopy full SHA for d30c72b
src/Repository/TaskRepository.php
@@ -22,7 +22,7 @@ public function __construct(ManagerRegistry $registry)
22
public function getTasksToVerify(int $limit): array
23
{
24
return $this->createQueryBuilder('t')
25
- ->andWhere('t.verifyAfter > :now')
+ ->andWhere('t.verifyAfter <= :now')
26
->orderBy('t.updatedAt', 'ASC') // Yes, sort this the wrong way.
27
->setMaxResults($limit)
28
->setParameter('now', new \DateTimeImmutable())
0 commit comments