mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-11 18:30:24 +08:00
缓存策略默认不启用MMAP
This commit is contained in:
@@ -22,7 +22,7 @@ type HTTPFileCacheStorage struct {
|
|||||||
|
|
||||||
func NewHTTPFileCacheStorage() *HTTPFileCacheStorage {
|
func NewHTTPFileCacheStorage() *HTTPFileCacheStorage {
|
||||||
return &HTTPFileCacheStorage{
|
return &HTTPFileCacheStorage{
|
||||||
EnableMMAP: true,
|
EnableMMAP: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user