summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <sumnekosun@intranet.123u.com>2019-04-01 19:31:46 +0800
committerunknown <sumnekosun@intranet.123u.com>2019-04-01 19:31:46 +0800
commit401fce3be4d4d0ab62d79d5ce83ee9830d47e11e (patch)
tree6e57e632fbc05b7b1ec31ae61dd8a60d16b65f69
parentc5f24b97a38c2c34b9ab5c182f19f5a02260dc74 (diff)
downloadlua-language-server-401fce3be4d4d0ab62d79d5ce83ee9830d47e11e.zip
将默认上限降低到300
-rw-r--r--package.json2
-rw-r--r--server/src/config.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 573a4bc3..2c92a212 100644
--- a/package.json
+++ b/package.json
@@ -66,7 +66,7 @@
"Lua.workspace.maxPreload": {
"scope": "resource",
"type": "integer",
- "default": 500,
+ "default": 300,
"description": "Max preloaded files.\n最大预加载文件数。"
}
}
diff --git a/server/src/config.lua b/server/src/config.lua
index 816778fa..9e677cd6 100644
--- a/server/src/config.lua
+++ b/server/src/config.lua
@@ -43,7 +43,7 @@ local Template = {
ignoreDir = {{}, Str2Hash ';'},
ignoreSubmodules= {true, Boolean},
useGitIgnore = {true, Boolean},
- maxPreload = {500, Integer},
+ maxPreload = {300, Integer},
}
}