From d402f6fed15c9ba61edf7f6b7b22e648c7cded34 Mon Sep 17 00:00:00 2001 From: sumneko Date: Fri, 12 Apr 2019 14:24:38 +0800 Subject: =?UTF-8?q?=E5=87=8F=E5=B0=91=E6=B8=85=E7=90=86=E9=A2=91=E7=8E=87?= =?UTF-8?q?=EF=BC=8C=E4=BD=86=E4=BC=9A=E7=95=A5=E5=BE=AE=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=86=85=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/vm/value.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/src/vm/value.lua') diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua index 7eb7784e..06a86e23 100644 --- a/server/src/vm/value.lua +++ b/server/src/vm/value.lua @@ -224,7 +224,7 @@ function mt:flushChild() end end infos._count = count - infos._limit = count + 10 + infos._limit = count * 1.1 + 10 infos._version = listMgr.getVersion() for index in pairs(self._child) do if not alived[index] then @@ -404,7 +404,7 @@ function mt:addInfo(tp, source, ...) end end infos._count = count - infos._limit = count + 10 + infos._limit = count * 1.1 + 10 infos._version = version end end @@ -422,7 +422,7 @@ function mt:eachInfo(callback) end end infos._count = #list - infos._limit = infos._count + 10 + infos._limit = infos._count * 1.1 + 10 infos._version = listMgr.getVersion() table.sort(list, function (a, b) return a._sort < b._sort -- cgit v1.2.3