From 7817044e4d973d1eedf2a68a03546769c58c56bd Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 15 四月 2024 18:04:42 +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 a481010..9b17246 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 InitPyItem = False # 是否加载过物品表所需要的Py数据, 每张地图只在启动时执行一次 DailyUseCountLimitItemIDList = [] # 每日有使用个数限制的物品ID列表 -- Gitblit v1.8.0