默认不启用MMAP

This commit is contained in:
GoEdgeLab
2024-05-01 12:51:24 +08:00
parent 6cb32d657f
commit 772ec1ac38
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ Tea.context(function () {
if (this.policyType == "file") {
let options = this.cachePolicy.options
if (options != null && typeof options == "object" && typeof options["dir"] === "undefined") {
options["enableMMAP"] = true
options["enableMMAP"] = false
options["dir"] = "/opt/cache"
options["memoryPolicy"] = {
capacity: {