fix pool expiration time

This commit is contained in:
ghost 2024-02-15 23:50:43 +02:00
parent 22e4ac24c9
commit ea7afec5dc

View File

@ -120,7 +120,7 @@ class CrontabController extends AbstractController
// Record expired
else
{
if ($pool->getTime() + $this->getParameter('app.pool.timeout') >= time())
if (time() >= $pool->getTime() + $this->getParameter('app.pool.timeout'))
{
// Update status
$pool->setExpired(