修复未完成的代码

This commit is contained in:
GoEdgeLab
2021-12-15 15:11:25 +08:00
parent f3001f2316
commit 156e2de72e

View File

@@ -208,9 +208,6 @@ func (this *FileStorage) OpenReader(key string) (Reader, error) {
return this.openReader(key, true)
}
var cacheMap = map[string][]*os.File{}
var cacheMapLocker = ysnc.
func (this *FileStorage) openReader(key string, allowMemory bool) (Reader, error) {
// 先尝试内存缓存
if allowMemory && this.memoryStorage != nil {