From 8042fa9d8e8e81f8de48e8d6db2cbe346565f613 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 19 Feb 2024 22:55:50 +0200 Subject: [PATCH] use common time --- src/Controller/RoomController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/RoomController.php b/src/Controller/RoomController.php index 43a3687..348293a 100644 --- a/src/Controller/RoomController.php +++ b/src/Controller/RoomController.php @@ -687,7 +687,7 @@ class RoomController extends AbstractController $pool->setKey( sprintf( '%d@%s', - time(), + $time, $username ), ); @@ -705,7 +705,7 @@ class RoomController extends AbstractController // Register event time $memcached->set( $memory, - time(), + $time, (int) $this->getParameter('app.add.post.remote.ip.delay') // auto remove on cache expire );