From 62b02bde5b871b04742d6486dde31f06f61bde70 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Wed, 1 May 2024 12:51:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98=E7=AD=96=E7=95=A5=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E4=B8=8D=E5=90=AF=E7=94=A8MMAP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/db/models/http_cache_policy_dao.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/db/models/http_cache_policy_dao.go b/internal/db/models/http_cache_policy_dao.go index 78159385..150416c2 100644 --- a/internal/db/models/http_cache_policy_dao.go +++ b/internal/db/models/http_cache_policy_dao.go @@ -175,7 +175,7 @@ func (this *HTTPCachePolicyDAO) CreateDefaultCachePolicy(tx *dbs.Tx, name string var storageOptions = &serverconfigs.HTTPFileCacheStorage{ Dir: "/opt/cache", - EnableMMAP: true, + EnableMMAP: false, MemoryPolicy: &serverconfigs.HTTPCachePolicy{ Capacity: &shared.SizeCapacity{ Count: 1,