From 2b1f9e7dcc20440576ee63014e0080a529ab0486 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 14 一月 2021 18:31:22 +0800
Subject: [PATCH] 4908 【BT】【主干】gameserver realtime备份过大导致卡顿(优化拍品记录保存期限;输出自定义表存档大小);

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBourse.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBourse.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBourse.py
index 162afff..b6e3fcc 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBourse.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBourse.py
@@ -775,7 +775,7 @@
                 cnt += 1
                 savaData += record.getBuffer()
                 
-        GameWorld.Log("SaveBourseRecord cnt :%s" % cnt)
+        GameWorld.Log("SaveBourseRecord cnt :%s len=%s" % (cnt, len(savaData)))
         return CommFunc.WriteDWORD(cntData, cnt) + savaData
     
     # 从数据库载入好友数据
@@ -836,7 +836,7 @@
             cnt += 1
             savaData += itemLastPrice.getBuffer()
                 
-        GameWorld.Log("SaveBourseItemLastPrice cnt :%s" % cnt)
+        GameWorld.Log("SaveBourseItemLastPrice cnt :%s len=%s" % (cnt, len(savaData)))
         return CommFunc.WriteDWORD(cntData, cnt) + savaData
     
     # 从数据库载入好友数据

--
Gitblit v1.8.0