Browse Source

use common time

main
ghost 9 months ago
parent
commit
8042fa9d8e
  1. 4
      src/Controller/RoomController.php

4
src/Controller/RoomController.php

@ -687,7 +687,7 @@ class RoomController extends AbstractController
$pool->setKey( $pool->setKey(
sprintf( sprintf(
'%d@%s', '%d@%s',
time(), $time,
$username $username
), ),
); );
@ -705,7 +705,7 @@ class RoomController extends AbstractController
// Register event time // Register event time
$memcached->set( $memcached->set(
$memory, $memory,
time(), $time,
(int) $this->getParameter('app.add.post.remote.ip.delay') // auto remove on cache expire (int) $this->getParameter('app.add.post.remote.ip.delay') // auto remove on cache expire
); );

Loading…
Cancel
Save