summaryrefslogtreecommitdiff
path: root/script/service
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-03 17:57:04 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-03 17:57:04 +0800
commit723f3d218e51e2556cfb754db901406a0f9c5164 (patch)
tree9c4a72c0e680526b6aa1d6a3bb815ec994dd6cde /script/service
parente2be2ba101a9da1bf81202e32c0d710cdcb79679 (diff)
downloadlua-language-server-723f3d218e51e2556cfb754db901406a0f9c5164.zip
#329 reduce idle cycle period to 0.01 sec
Diffstat (limited to 'script/service')
-rw-r--r--script/service/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/service/service.lua b/script/service/service.lua
index 8f76a294..f20c6306 100644
--- a/script/service/service.lua
+++ b/script/service/service.lua
@@ -149,7 +149,7 @@ function m.startTimer()
m.working = false
m.idleClock = os.clock()
end
- thread.sleep(0.001)
+ thread.sleep(0.01)
::CONTINUE::
timer.update()
end