summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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},
}
}