缓存策略默认不启用MMAP

This commit is contained in:
GoEdgeLab
2024-05-01 12:51:38 +08:00
parent 934f066ab8
commit 62b02bde5b

View File

@@ -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,