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 99c2a65 commit e95f2c3Copy full SHA for e95f2c3
Repository/JobLogRepository.php
@@ -167,7 +167,7 @@ public function findJobLog(string $uuid): ?JobLog
167
public function removeExpiredJobs(): void
168
{
169
$interval = new \DateInterval(sprintf('PT%sS', $this->ttl));
170
- $before = (new \DateTime('now'))->sub($interval)->format('U');
+ $before = (new \DateTime('now'))->sub($interval);
171
172
$qb = $this->getEntityManager()->createQueryBuilder();
173
$qb->delete(JobLog::class, 'j')
0 commit comments