mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-21 08:40:25 +08:00
默认不启用MMAP
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user