mirror of
https://github.com/kevachat/webapp.git
synced 2025-02-02 09:55:58 +00:00
fix pool expiration time
This commit is contained in:
parent
22e4ac24c9
commit
ea7afec5dc
@ -120,7 +120,7 @@ class CrontabController extends AbstractController
|
|||||||
// Record expired
|
// Record expired
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ($pool->getTime() + $this->getParameter('app.pool.timeout') >= time())
|
if (time() >= $pool->getTime() + $this->getParameter('app.pool.timeout'))
|
||||||
{
|
{
|
||||||
// Update status
|
// Update status
|
||||||
$pool->setExpired(
|
$pool->setExpired(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user