diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-08 16:54:12 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-08 16:54:12 +0800 |
commit | 4f5b3a6d0e7312d49659a3e37e512479feae63e1 (patch) | |
tree | f0527c4d879a23fc8fe1881dbd1c5c9459a29af3 /server/src | |
parent | c5cdfa647574c38916c61930acf56469372d139f (diff) | |
download | lua-language-server-4f5b3a6d0e7312d49659a3e37e512479feae63e1.zip |
找dead value的阈值提高
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/service.lua | 2 |
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 |