Skip to content

Commit c3c3261

Browse files
committed
缓存策略默认不启用MMAP
1 parent 97c6776 commit c3c3261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/serverconfigs/http_cache_storage_file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type HTTPFileCacheStorage struct {
2222

2323
func NewHTTPFileCacheStorage() *HTTPFileCacheStorage {
2424
return &HTTPFileCacheStorage{
25-
EnableMMAP: true,
25+
EnableMMAP: false,
2626
}
2727
}
2828

0 commit comments

Comments
 (0)