From 0bf260dc72b06bb322e939434e02d117dcfc48ff Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 15 四月 2024 17:49:43 +0800 Subject: [PATCH] 10138 内存分析(地图24小时内没有玩家在线则回收py表数据) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyGameData.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyGameData.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyGameData.py index 943c466..cac03cb 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyGameData.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyGameData.py @@ -21,6 +21,7 @@ g_commMapLinePlayerCountDict = {} # 常规地图分线人数 {mapID:{lineID:人数, ...}} g_needRefreshMapServerState = True # 常规地图分线人数是否有变更需要通知 g_mapLastProcess_Minute = -1 # 地图上次处理的分钟 +g_ipyDataRecycleCheckTime = 0 # 地图IpyData数据回收检查time g_playerViewCache = {} # {playerID:{k:v, ...}, ...} # 查看玩家数据缓存 g_viewCacheCallback = {} # {playerID:any, ...} # 玩家数据缓存回调 -- Gitblit v1.8.0