mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-22 04:55:29 +08:00
使用MMAP提升缓存读取性能
This commit is contained in:
@@ -96,7 +96,7 @@ func (this *HTTPCachePolicy) UpdateDiskDir(dir string, subDirs []*CacheDir) {
|
||||
return
|
||||
}
|
||||
|
||||
var options = &HTTPFileCacheStorage{}
|
||||
var options = NewHTTPFileCacheStorage()
|
||||
err = json.Unmarshal(oldOptionsJSON, options)
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user