From 2355ba0c262fd138fd363990350c2d9e161b1d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Sun, 28 Sep 2025 19:45:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E8=BF=9E=E5=90=8E=E6=88=BF=E9=97=B4?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/cron/controller/TenSeconds.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/cron/controller/TenSeconds.php b/application/cron/controller/TenSeconds.php index 89ce418..03d5e42 100644 --- a/application/cron/controller/TenSeconds.php +++ b/application/cron/controller/TenSeconds.php @@ -55,8 +55,7 @@ class TenSeconds //清理切后台超过5分钟的用户 protected function clear_offline_user() { -// $time = time() - 300; - $time = time() - 60; + $time = time() - 300; $user_list = db::name('vs_user_in_room_bg')->where('updatetime', '<=', $time)->select(); if($user_list){ foreach ($user_list as $v){