summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-08 16:54:12 +0800
committersumneko <sumneko@hotmail.com>2019-05-08 16:54:12 +0800
commit4f5b3a6d0e7312d49659a3e37e512479feae63e1 (patch)
treef0527c4d879a23fc8fe1881dbd1c5c9459a29af3 /server/src
parentc5cdfa647574c38916c61930acf56469372d139f (diff)
downloadlua-language-server-4f5b3a6d0e7312d49659a3e37e512479feae63e1.zip
找dead value的阈值提高
Diffstat (limited to 'server/src')
-rw-r--r--server/src/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index f71494fc..ede07122 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -830,7 +830,7 @@ function mt:_testMemory()
))
log.debug('test memory: ', ('%.3f'):format(os.clock() - clock))
- if deadValue / totalValue >= 0.1 then
+ if deadValue / totalValue >= 0.5 then
self:_testFindDeadValues()
end
end